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.001117/0.001117, allocations: 105.9 kB / 16.45 MB, free: 6.387 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.001316/0.001316, allocations: 182.9 kB / 17.38 MB, free: 5.676 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.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04725/0.04725, allocations: 8.097 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.89 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.09009, allocations: 51.51 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001975/0.09211, allocations: 0.8661 MB / 466.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.09363, allocations: 1.298 MB / 467.7 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.09371, allocations: 0 / 467.7 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.09397, allocations: 59.7 kB / 467.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.09416, allocations: 39.72 kB / 467.7 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.09486, allocations: 362.5 kB / 468.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.095, allocations: 63.73 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.09511, allocations: 35.95 kB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.09517, allocations: 39.78 kB / 468.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.09529, allocations: 39.84 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.09532, allocations: 8 kB / 468.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.09552, allocations: 95.89 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.09555, allocations: 15.92 kB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.0956, allocations: 47.72 kB / 468.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.09584, allocations: 142.5 kB / 468.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09586, allocations: 0 / 468.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09586, allocations: 4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.09587, allocations: 4 kB / 468.6 MB, free: 15.55 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.0008282/0.09671, allocations: 440 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.09675, allocations: 11.89 kB / 469 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.09679, allocations: 42.73 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.09684, allocations: 8.844 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.09699, allocations: 176.2 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.09701, allocations: 8.375 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.09703, allocations: 4.375 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.0972, allocations: 98.09 kB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.09721, allocations: 7.875 kB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.09723, allocations: 0 / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.09724, allocations: 3.938 kB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.09736, allocations: 75.97 kB / 469.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.09788, allocations: 384.6 kB / 469.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.09819, allocations: 114.6 kB / 469.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.09826, allocations: 36.8 kB / 470 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.0983, allocations: 160 / 470 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.09832, allocations: 34.55 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.09834, allocations: 4 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005419/0.09888, allocations: 239.4 kB / 470.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.09892, allocations: 55.34 kB / 470.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.09906, allocations: 138.1 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.09908, allocations: 25.7 kB / 470.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.09914, allocations: 107.9 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.09917, allocations: 19.72 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.09922, allocations: 29.7 kB / 470.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.09931, allocations: 318.8 kB / 470.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.09937, allocations: 28 kB / 470.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.09942, allocations: 31.98 kB / 471 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.09953, allocations: 76.78 kB / 471.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.09954, allocations: 0 / 471.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000256/0.0998, allocations: 142.4 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.09982, allocations: 7.938 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.09983, allocations: 4 kB / 471.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.1001, allocations: 36.83 kB / 471.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.1001, allocations: 19.98 kB / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.1012, allocations: 1.445 MB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1013, allocations: 4 kB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1013, allocations: 4.031 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.435e-05/0.1014, allocations: 125.8 kB / 472.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1015, allocations: 7.906 kB / 472.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1017, allocations: 130.8 kB / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1017, allocations: 0 / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1017, allocations: 3.938 kB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1017, allocations: 4 kB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1019, allocations: 201.6 kB / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1019, allocations: 0 / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.102, allocations: 15.94 kB / 473.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.1021, allocations: 32.83 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1022, allocations: 4 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009807/0.1031, allocations: 1.445 MB / 474.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1032, allocations: 400 / 474.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1034, allocations: 220.3 kB / 474.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1035, allocations: 89 kB / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1035, allocations: 0 / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1036, allocations: 4 kB / 475 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.1036, allocations: 11.98 kB / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1037, allocations: 0 / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.1038, allocations: 111.3 kB / 475.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1038, allocations: 0 / 475.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.104, allocations: 31.98 kB / 475.1 MB, free: 8.344 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.000555/0.1046, allocations: 0.7522 MB / 475.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.105, allocations: 198.6 kB / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.105, allocations: 0 / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1052, allocations: 146.7 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1055, allocations: 19.92 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.1071, allocations: 1.601 MB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1074, allocations: 0.6963 MB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.1074, allocations: 8.656 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1075, allocations: 23.42 kB / 478.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1075, allocations: 0 / 478.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.1275, allocations: 2.899 MB / 481.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.754/8.881, allocations: 12.62 kB / 481.5 MB, free: 1.922 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)