Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.0009717/0.0009717, allocations: 108.2 kB / 16.45 MB, free: 6.434 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.0009845/0.0009845, allocations: 187 kB / 17.38 MB, free: 5.664 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.261/1.261, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0475/0.0475, allocations: 8.093 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.09091, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001819/0.09276, allocations: 0.8739 MB / 466.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.09413, allocations: 1.283 MB / 467.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.09419, allocations: 4 kB / 467.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.09442, allocations: 63.69 kB / 467.7 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.09457, allocations: 39.78 kB / 467.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.09521, allocations: 358.5 kB / 468.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.09532, allocations: 71.73 kB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.09542, allocations: 27.91 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.09547, allocations: 39.77 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.09561, allocations: 43.84 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.09563, allocations: 4 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.0958, allocations: 99.89 kB / 468.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.09583, allocations: 11.92 kB / 468.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.09588, allocations: 47.72 kB / 468.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.09611, allocations: 147.8 kB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09613, allocations: 7.922 kB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09613, allocations: 0 / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09614, allocations: 0 / 468.6 MB, free: 15.57 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008014/0.09695, allocations: 446.9 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.09699, allocations: 11.89 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.09703, allocations: 42.73 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.09707, allocations: 8.891 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.09723, allocations: 176.3 kB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.09725, allocations: 12.36 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.09727, allocations: 4.375 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.09744, allocations: 102 kB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.09745, allocations: 3.938 kB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.09747, allocations: 7.938 kB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.09748, allocations: 4 kB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.0976, allocations: 63.97 kB / 469.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.09814, allocations: 384.7 kB / 469.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.09846, allocations: 114.6 kB / 469.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.09852, allocations: 28.86 kB / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.09855, allocations: 4 kB / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.09858, allocations: 30.56 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.09858, allocations: 0 / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005536/0.09914, allocations: 243.6 kB / 470.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.09919, allocations: 59.34 kB / 470.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.09933, allocations: 134.1 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.09935, allocations: 29.7 kB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.09941, allocations: 108 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.09944, allocations: 19.8 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.09949, allocations: 25.7 kB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.0996, allocations: 322.8 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.09966, allocations: 31.94 kB / 471 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.09971, allocations: 31.98 kB / 471 MB, free: 12.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.09982, allocations: 76.78 kB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.09983, allocations: 4 kB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002503/0.1001, allocations: 142.4 kB / 471.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1001, allocations: 10.28 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1001, allocations: 4 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1003, allocations: 36.83 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1004, allocations: 15.98 kB / 471.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.1015, allocations: 1.437 MB / 472.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.1016, allocations: 15.92 kB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1016, allocations: 4 kB / 472.7 MB, free: 11.02 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.1017, allocations: 117.8 kB / 472.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.1017, allocations: 16.03 kB / 472.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.102, allocations: 126.8 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.102, allocations: 4 kB / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.102, allocations: 3.938 kB / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.102, allocations: 0 / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1022, allocations: 205.6 kB / 473.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1022, allocations: 3.938 kB / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.1023, allocations: 8 kB / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.1024, allocations: 37.05 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1024, allocations: 8 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009887/0.1034, allocations: 1.43 MB / 474.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1034, allocations: 3.938 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1037, allocations: 212.6 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1038, allocations: 93.14 kB / 475 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1038, allocations: 0 / 475 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1039, allocations: 4 kB / 475 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.1039, allocations: 7.984 kB / 475 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1039, allocations: 4 kB / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.104, allocations: 115.4 kB / 475.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.104, allocations: 0 / 475.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1043, allocations: 27.94 kB / 475.1 MB, free: 8.359 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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006122/0.1049, allocations: 0.764 MB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1053, allocations: 198.6 kB / 476.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1054, allocations: 0 / 476.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.1056, allocations: 154.6 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1059, allocations: 19.86 kB / 476.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1077, allocations: 1.593 MB / 477.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.108, allocations: 0.6962 MB / 478.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.108, allocations: 12.59 kB / 478.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1081, allocations: 23.42 kB / 478.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1081, allocations: 0 / 478.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1298, allocations: 2.855 MB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.672, allocations: 16.09 kB / 481.5 MB, free: 1.957 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)