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.001541/0.001541, allocations: 105.3 kB / 16.45 MB, free: 6.445 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.001637/0.001637, allocations: 192.7 kB / 17.39 MB, free: 5.668 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04528/0.04528, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09122, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002537/0.0938, allocations: 1.566 MB / 467.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.09582, allocations: 1.547 MB / 468.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.09591, allocations: 4 kB / 468.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.09629, allocations: 123.3 kB / 468.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.0966, allocations: 115.3 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.09821, allocations: 0.9177 MB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.09855, allocations: 234.8 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.09872, allocations: 80.33 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.09883, allocations: 95.64 kB / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.09901, allocations: 123.5 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.09905, allocations: 20 kB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.0994, allocations: 211.8 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.09945, allocations: 47.83 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.09956, allocations: 115.4 kB / 470.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1, allocations: 386.6 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1, allocations: 0 / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1, allocations: 0 / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1001, allocations: 0 / 471 MB, free: 13.09 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.002373/0.1024, allocations: 0.8111 MB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1025, allocations: 15.83 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.1025, allocations: 50.73 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1026, allocations: 28.66 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1029, allocations: 259.9 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1029, allocations: 16.7 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.103, allocations: 24.31 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1034, allocations: 256 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1034, allocations: 3.938 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1034, allocations: 8 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1035, allocations: 4 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.1038, allocations: 243.9 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1053, allocations: 1.113 MB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.106, allocations: 314.4 kB / 474.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1062, allocations: 153.3 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.1063, allocations: 23.84 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1063, allocations: 34.56 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.1063, allocations: 0 / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003028/0.1093, allocations: 0.9757 MB / 475.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1094, allocations: 55.41 kB / 475.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1096, allocations: 194.4 kB / 475.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1096, allocations: 29.7 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.1097, allocations: 132.3 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.1098, allocations: 86.75 kB / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1099, allocations: 61.69 kB / 475.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1101, allocations: 334.8 kB / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1103, allocations: 152 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.1105, allocations: 161 kB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.111, allocations: 350.4 kB / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.111, allocations: 4 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001786/0.1128, allocations: 0.6458 MB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1128, allocations: 7.984 kB / 477.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1129, allocations: 0 / 477.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.1143, allocations: 324.5 kB / 477.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1145, allocations: 43.92 kB / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.1185, allocations: 2.746 MB / 480.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.1188, allocations: 31.69 kB / 480.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.1188, allocations: 11.94 kB / 480.7 MB, free: 2.961 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 (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.0001436/0.119, allocations: 137.8 kB / 480.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.119, allocations: 19.8 kB / 480.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.1205, allocations: 0.6211 MB / 481.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1206, allocations: 4 kB / 481.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1206, allocations: 3.938 kB / 481.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1206, allocations: 7.922 kB / 481.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.121, allocations: 381.2 kB / 481.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.121, allocations: 0 / 481.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1211, allocations: 35.92 kB / 481.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.1224, allocations: 312.5 kB / 482.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.1224, allocations: 7.938 kB / 482.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.1263, allocations: 2.723 MB / 484.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1263, allocations: 0 / 484.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1277, allocations: 0.6721 MB / 485.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.1278, allocations: 101 kB / 485.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1279, allocations: 8 kB / 485.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1281, allocations: 11.98 kB / 485.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.1281, allocations: 27.84 kB / 485.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1282, allocations: 8.125 kB / 485.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1283, allocations: 143.2 kB / 485.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 485.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000425/0.1288, allocations: 95.94 kB / 486 MB, free: 13.42 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.001804/0.1306, allocations: 1.24 MB / 487.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.132, allocations: 0.6156 MB / 487.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.132, allocations: 0 / 487.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009793/0.133, allocations: 442.3 kB / 488.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1334, allocations: 35.72 kB / 488.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.1385, allocations: 3.245 MB / 491.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1389, allocations: 0.7485 MB / 492.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.139, allocations: 33.92 kB / 492.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1391, allocations: 67.41 kB / 492.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1391, allocations: 0 / 492.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1692, allocations: 8.659 MB / 0.4893 GB, free: 14.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.66, allocations: 7.922 kB / 0.4893 GB, free: 14.29 MB / 382.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)