Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",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.001656/0.001656, allocations: 108 kB / 16.45 MB, free: 6.438 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.001839/0.001839, allocations: 188.1 kB / 17.38 MB, free: 5.688 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.418/1.418, 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.05177/0.05177, allocations: 8.107 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09412, allocations: 51.5 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003134/0.09729, allocations: 1.747 MB / 467.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.0994, allocations: 1.329 MB / 468.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.09953, allocations: 4 kB / 468.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.09988, allocations: 99.48 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1002, allocations: 99.3 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009746/0.1012, allocations: 462 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1015, allocations: 218.9 kB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1018, allocations: 126.4 kB / 469.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1019, allocations: 95.64 kB / 469.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1021, allocations: 147.4 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.1022, allocations: 20 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1025, allocations: 123.9 kB / 469.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1026, allocations: 51.83 kB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1027, allocations: 115.4 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1032, allocations: 335 kB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1032, allocations: 4 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1032, allocations: 0 / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1032, allocations: 0 / 470.4 MB, free: 13.72 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001989/0.1052, allocations: 0.6742 MB / 471.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1053, allocations: 15.89 kB / 471.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.1054, allocations: 58.73 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.1054, allocations: 24.8 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1057, allocations: 210.8 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.1058, allocations: 16.94 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1058, allocations: 20.38 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.1063, allocations: 292.1 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1063, allocations: 3.938 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1064, allocations: 15.98 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1064, allocations: 8 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.1068, allocations: 245.2 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.1084, allocations: 0.9568 MB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.1093, allocations: 366.3 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1094, allocations: 93.81 kB / 473.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.1095, allocations: 8 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1095, allocations: 38.56 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.1095, allocations: 0 / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001278/0.1108, allocations: 0.5247 MB / 474 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.111, allocations: 81.11 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1112, allocations: 194.6 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1113, allocations: 33.7 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1114, allocations: 152.3 kB / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.1115, allocations: 83.3 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1116, allocations: 53.69 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1118, allocations: 326.8 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.112, allocations: 87.97 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1122, allocations: 123.4 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1126, allocations: 210.9 kB / 475.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1126, allocations: 3.938 kB / 475.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006951/0.1133, allocations: 339 kB / 475.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1133, allocations: 4 kB / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1133, allocations: 0 / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.1138, allocations: 85.66 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.114, allocations: 39.97 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.117, allocations: 2.887 MB / 478.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1172, allocations: 27.97 kB / 478.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1173, allocations: 12 kB / 478.7 MB, free: 4.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.1174, allocations: 141.7 kB / 478.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1175, allocations: 15.91 kB / 478.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/0.1183, allocations: 304.9 kB / 479.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1183, allocations: 4 kB / 479.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1183, allocations: 7.984 kB / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1183, allocations: 0 / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.1192, allocations: 0.5464 MB / 479.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1192, allocations: 0 / 479.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1194, allocations: 32.08 kB / 479.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.1197, allocations: 81.53 kB / 479.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1197, allocations: 11.98 kB / 479.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.1224, allocations: 2.863 MB / 482.7 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1224, allocations: 8.047 kB / 482.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.1231, allocations: 424.2 kB / 483.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1232, allocations: 100.9 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1232, allocations: 4 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.1234, allocations: 27.97 kB / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1235, allocations: 19.92 kB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1235, allocations: 4 kB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1237, allocations: 148.2 kB / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1237, allocations: 0 / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1242, allocations: 79.84 kB / 483.5 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.001063/0.1253, allocations: 0.9816 MB / 484.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000908/0.1262, allocations: 457.2 kB / 484.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1262, allocations: 0 / 484.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.1267, allocations: 329.4 kB / 485.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1272, allocations: 27.98 kB / 485.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.131, allocations: 2.51 MB / 487.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1315, allocations: 0.7323 MB / 488.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.1317, allocations: 37.44 kB / 488.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1318, allocations: 67.36 kB / 488.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1318, allocations: 0 / 488.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.1655, allocations: 5.258 MB / 493.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.828/9.994, allocations: 4 kB / 493.9 MB, free: 5.117 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)