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.00171/0.00171, allocations: 99.64 kB / 16.44 MB, free: 6.371 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.001886/0.001886, allocations: 190.7 kB / 17.37 MB, free: 5.797 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.48/1.48, 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.05179/0.05179, allocations: 8.101 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 51.52 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002213/0.1227, allocations: 0.8696 MB / 466.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1245, allocations: 1.287 MB / 467.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.1246, allocations: 0 / 467.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1248, allocations: 63.7 kB / 467.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1251, allocations: 35.77 kB / 467.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.1259, allocations: 354.5 kB / 468.1 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.126, allocations: 75.66 kB / 468.2 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1261, allocations: 36.23 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.1262, allocations: 31.86 kB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1263, allocations: 43.83 kB / 468.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1264, allocations: 4 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1266, allocations: 99.89 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.1266, allocations: 19.91 kB / 468.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1267, allocations: 35.75 kB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.127, allocations: 159.8 kB / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.127, allocations: 0 / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.127, allocations: 0 / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.127, allocations: 4 kB / 468.6 MB, free: 15.58 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.0008935/0.1279, allocations: 442.8 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.128, allocations: 15.89 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.128, allocations: 34.75 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.128, allocations: 12.89 kB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1282, allocations: 184.3 kB / 469.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1283, allocations: 4.375 kB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1283, allocations: 8.375 kB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1285, allocations: 98.03 kB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1285, allocations: 7.875 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1285, allocations: 4 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1285, allocations: 4 kB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1287, allocations: 71.91 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.1293, allocations: 376.7 kB / 469.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1296, allocations: 114.6 kB / 469.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.1297, allocations: 33 kB / 470 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1297, allocations: 3.984 kB / 470 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1298, allocations: 34.56 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1298, allocations: 0 / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005942/0.1304, allocations: 243.5 kB / 470.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1304, allocations: 59.33 kB / 470.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1306, allocations: 138.1 kB / 470.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1306, allocations: 29.7 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1307, allocations: 95.98 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1307, allocations: 27.78 kB / 470.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1308, allocations: 29.7 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1309, allocations: 314.8 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.131, allocations: 31.98 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.131, allocations: 35.98 kB / 471 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1312, allocations: 72.78 kB / 471.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1312, allocations: 0 / 471.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002848/0.1315, allocations: 146.4 kB / 471.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1315, allocations: 10.28 kB / 471.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1315, allocations: 4.266 kB / 471.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.1317, allocations: 36.83 kB / 471.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.1318, allocations: 16 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.1331, allocations: 1.441 MB / 472.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1332, allocations: 11.92 kB / 472.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1333, allocations: 3.984 kB / 472.7 MB, free: 11.04 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 0.0001065/0.1334, allocations: 125.9 kB / 472.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1334, allocations: 7.953 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1337, allocations: 130.8 kB / 473 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1337, allocations: 4 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1337, allocations: 3.938 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1338, allocations: 3.984 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.134, allocations: 201.6 kB / 473.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.134, allocations: 0 / 473.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.1341, allocations: 11.98 kB / 473.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.1342, allocations: 36.78 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1342, allocations: 3.984 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1354, allocations: 1.43 MB / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1355, allocations: 0 / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1358, allocations: 224.3 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1358, allocations: 81.06 kB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1359, allocations: 4 kB / 475 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.136, allocations: 11.98 kB / 475 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.136, allocations: 0 / 475 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.136, allocations: 7.984 kB / 475 MB, free: 8.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1361, allocations: 111.4 kB / 475.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1361, allocations: 0 / 475.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1364, allocations: 35.94 kB / 475.1 MB, free: 8.367 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.000656/0.1371, allocations: 0.7522 MB / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.1375, allocations: 198.6 kB / 476.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1375, allocations: 4 kB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1377, allocations: 154.6 kB / 476.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.138, allocations: 11.94 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1399, allocations: 1.602 MB / 477.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1403, allocations: 0.7 MB / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.1403, allocations: 16.64 kB / 478.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1404, allocations: 19.44 kB / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1404, allocations: 0 / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.1672, allocations: 2.85 MB / 481.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/9.822, allocations: 19.88 kB / 481.5 MB, free: 1.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)