Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.004856/0.004856, allocations: 91.8 kB / 15.91 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 191.2 kB / 16.83 MB, free: 6.191 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.259/1.259, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1272/0.1272, allocations: 8.078 MB / 298.7 MB, free: 2.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.89 kB / 361.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08539, allocations: 51.51 MB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002426/0.08785, allocations: 1.612 MB / 414.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.08966, allocations: 1.528 MB / 415.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.08976, allocations: 4 kB / 415.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.09011, allocations: 111.6 kB / 415.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.09037, allocations: 99.44 kB / 416 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.09176, allocations: 0.8949 MB / 416.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.09203, allocations: 226.9 kB / 417.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.09216, allocations: 76.08 kB / 417.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.09226, allocations: 83.7 kB / 417.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.09241, allocations: 115.5 kB / 417.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.09245, allocations: 16 kB / 417.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.09278, allocations: 211.7 kB / 417.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.09283, allocations: 39.83 kB / 417.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.09293, allocations: 107.4 kB / 417.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.0934, allocations: 379.2 kB / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09341, allocations: 0 / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.09342, allocations: 0 / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.09343, allocations: 0 / 418.1 MB, free: 4.555 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002196/0.09563, allocations: 0.815 MB / 418.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.09567, allocations: 16.02 kB / 419 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.09573, allocations: 50.73 kB / 419 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.09579, allocations: 24.66 kB / 419 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.09605, allocations: 252.4 kB / 419.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.09608, allocations: 24.58 kB / 419.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.09611, allocations: 16.38 kB / 419.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.09649, allocations: 256 kB / 419.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.09651, allocations: 11.92 kB / 419.6 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.09654, allocations: 8 kB / 419.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.09655, allocations: 8 kB / 419.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.09688, allocations: 239.9 kB / 419.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.09822, allocations: 1.121 MB / 421 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.09885, allocations: 306.5 kB / 421.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.09906, allocations: 160.8 kB / 421.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.09911, allocations: 11.98 kB / 421.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.09914, allocations: 38.98 kB / 421.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.223e-06/0.09914, allocations: 0 / 421.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002912/0.1021, allocations: 0.971 MB / 422.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1021, allocations: 55.41 kB / 422.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1023, allocations: 198.2 kB / 422.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1023, allocations: 29.7 kB / 422.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1024, allocations: 132.4 kB / 422.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.1024, allocations: 82.75 kB / 422.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1026, allocations: 69.59 kB / 423 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.1027, allocations: 334.8 kB / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1029, allocations: 148 kB / 423.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1031, allocations: 168.9 kB / 423.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.1036, allocations: 346.4 kB / 424 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1036, allocations: 0 / 424 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001419/0.105, allocations: 0.6458 MB / 424.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.105, allocations: 5.719 kB / 424.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.105, allocations: 0 / 424.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.1064, allocations: 328.5 kB / 424.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1066, allocations: 47.92 kB / 425 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.1101, allocations: 2.546 MB / 427.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1103, allocations: 19.84 kB / 427.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.1104, allocations: 12 kB / 427.6 MB, free: 10.65 MB / 366.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1105, allocations: 137.7 kB / 427.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.1106, allocations: 27.7 kB / 427.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.1121, allocations: 0.6131 MB / 428.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1121, allocations: 8 kB / 428.3 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1121, allocations: 0 / 428.3 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1121, allocations: 0 / 428.3 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.1125, allocations: 393.1 kB / 428.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1125, allocations: 0 / 428.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1126, allocations: 32.27 kB / 428.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.1139, allocations: 320.4 kB / 429.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1139, allocations: 0 / 429.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.1172, allocations: 2.515 MB / 431.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1172, allocations: 3.938 kB / 431.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.1186, allocations: 0.664 MB / 432.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1187, allocations: 104.8 kB / 432.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1187, allocations: 7.938 kB / 432.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1189, allocations: 15.98 kB / 432.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.119, allocations: 23.97 kB / 432.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.119, allocations: 12 kB / 432.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1191, allocations: 143.4 kB / 432.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1191, allocations: 0 / 432.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1195, allocations: 96 kB / 432.6 MB, free: 5.312 MB / 366.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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/0.1212, allocations: 1.232 MB / 433.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1225, allocations: 0.6195 MB / 434.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1225, allocations: 4 kB / 434.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.1234, allocations: 434.9 kB / 434.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1237, allocations: 22.39 kB / 434.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1274/0.2511, allocations: 3.298 MB / 438.2 MB, free: 56.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.2513, allocations: 0.7425 MB / 439 MB, free: 55.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2514, allocations: 31.08 kB / 439 MB, free: 55.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.2515, allocations: 66.47 kB / 439.1 MB, free: 55.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2515, allocations: 1.938 kB / 439.1 MB, free: 55.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/0.7608, allocations: 7.808 MB / 446.9 MB, free: 54.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.761, allocations: 231.6 kB / 447.1 MB, free: 54.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.458, allocations: 0 / 447.1 MB, free: 54.71 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)