Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 101.2 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 180.9 kB / 16.62 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1604/0.1604, allocations: 8.089 MB / 299.7 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 16 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09411, allocations: 52.51 MB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002004/0.09616, allocations: 1.691 MB / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.09815, allocations: 1.591 MB / 418.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.09826, allocations: 4 kB / 418.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.09853, allocations: 111.4 kB / 418.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.0989, allocations: 203.4 kB / 419 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.1006, allocations: 0.9849 MB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.101, allocations: 291.3 kB / 420.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1012, allocations: 93.8 kB / 420.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1013, allocations: 139.5 kB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1016, allocations: 187.2 kB / 420.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1016, allocations: 19.94 kB / 420.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.102, allocations: 219.7 kB / 420.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.102, allocations: 59.75 kB / 420.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.1021, allocations: 93.52 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.1025, allocations: 411.2 kB / 421.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.1026, allocations: 0 / 421.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1026, allocations: 0 / 421.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1026, allocations: 0 / 421.4 MB, free: 2.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004779/0.1074, allocations: 1.31 MB / 422.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1074, allocations: 8.031 kB / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.1075, allocations: 66.53 kB / 422.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.1076, allocations: 43.53 kB / 422.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.108, allocations: 326.2 kB / 423.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.108, allocations: 24.56 kB / 423.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.1081, allocations: 36 kB / 423.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.1088, allocations: 464.4 kB / 423.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1088, allocations: 0 / 423.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.1089, allocations: 15.95 kB / 423.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1089, allocations: 8 kB / 423.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1582/0.2671, allocations: 421.5 kB / 424.1 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.2693, allocations: 2.026 MB / 426.1 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.2701, allocations: 0.51 MB / 426.6 MB, free: 39.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/0.2701, allocations: 14.53 kB / 426.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2702, allocations: 40.59 kB / 426.7 MB, free: 39.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.2702, allocations: 6.25 kB / 426.7 MB, free: 39.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006371/0.2766, allocations: 1.903 MB / 428.6 MB, free: 39.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2766, allocations: 106 kB / 428.7 MB, free: 39.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.2769, allocations: 276.9 kB / 429 MB, free: 39.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.2769, allocations: 35.67 kB / 429 MB, free: 39.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.277, allocations: 161.9 kB / 429.2 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.2771, allocations: 150.3 kB / 429.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.2772, allocations: 10.25 kB / 429.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.2772, allocations: 348.7 kB / 429.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.2776, allocations: 294.1 kB / 430 MB, free: 38.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.278, allocations: 345.7 kB / 430.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.2785, allocations: 322 kB / 430.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2785, allocations: 0 / 430.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003051/0.2815, allocations: 1.268 MB / 431.9 MB, free: 38.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2816, allocations: 3.5 kB / 431.9 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2816, allocations: 3.281 kB / 431.9 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/0.2849, allocations: 0.7907 MB / 432.7 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.2853, allocations: 88.42 kB / 432.8 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.2912, allocations: 3.952 MB / 436.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.2917, allocations: 57.27 kB / 436.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.2917, allocations: 16.62 kB / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.2919, allocations: 168.3 kB / 437 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.292, allocations: 32.94 kB / 437 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.295, allocations: 1.218 MB / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.295, allocations: 9.969 kB / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.295, allocations: 0 / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.295, allocations: 3.375 kB / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.2955, allocations: 0.5609 MB / 438.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2955, allocations: 4 kB / 438.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.2957, allocations: 59.7 kB / 438.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/0.2989, allocations: 0.7553 MB / 439.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.2989, allocations: 7.625 kB / 439.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/0.3045, allocations: 3.914 MB / 443.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3046, allocations: 0 / 443.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.3074, allocations: 1.219 MB / 444.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.3075, allocations: 125.2 kB / 444.9 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.3076, allocations: 7.094 kB / 444.9 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.308, allocations: 27.91 kB / 444.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.3081, allocations: 45.48 kB / 444.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3081, allocations: 13.97 kB / 445 MB, free: 31.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3083, allocations: 196.3 kB / 445.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3083, allocations: 0 / 445.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005848/0.3089, allocations: 180.8 kB / 445.3 MB, free: 31.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003132/0.312, allocations: 1.784 MB / 447.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3142, allocations: 1.023 MB / 448.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3142, allocations: 4 kB / 448.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.3158, allocations: 0.6592 MB / 448.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3161, allocations: 36.83 kB / 448.8 MB, free: 29.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3174, allocations: 1.167 MB / 450 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3176, allocations: 0.8065 MB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.3177, allocations: 53.48 kB / 450.9 MB, free: 28.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3179, allocations: 127 kB / 451 MB, free: 28.12 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3179, allocations: 0 / 451 MB, free: 28.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3434, allocations: 13.66 MB / 464.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.3436, allocations: 223.3 kB / 464.9 MB, free: 26.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.079, allocations: 1.219 kB / 464.9 MB, free: 26.96 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: