Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 98.09 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04786/0.04786, allocations: 8.105 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.436e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 52.52 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4816, allocations: 79.51 MB / 0.525 GB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4818, allocations: 59.8 kB / 0.525 GB, free: 6.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.5038, allocations: 8.465 MB / 0.5333 GB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5039, allocations: 0 / 0.5333 GB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5039, allocations: 4 kB / 0.5333 GB, free: 15.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001512/0.5054, allocations: 0.6244 MB / 0.5339 GB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5055, allocations: 16.03 kB / 0.5339 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.5055, allocations: 50.73 kB / 0.534 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.5056, allocations: 27.72 kB / 0.534 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.506, allocations: 273.3 kB / 0.5343 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.506, allocations: 14.75 kB / 0.5343 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.5061, allocations: 19.5 kB / 0.5343 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.5066, allocations: 282.1 kB / 0.5346 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5066, allocations: 0 / 0.5346 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.5066, allocations: 9.891 kB / 0.5346 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5067, allocations: 4 kB / 0.5346 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.5071, allocations: 280.6 kB / 0.5349 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.5089, allocations: 1.12 MB / 0.5359 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.5098, allocations: 459.8 kB / 0.5364 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.5101, allocations: 175.5 kB / 0.5366 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.5102, allocations: 7.953 kB / 0.5366 GB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.5102, allocations: 45.55 kB / 0.5366 GB, free: 12.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.5103, allocations: 0 / 0.5366 GB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001351/0.5116, allocations: 0.5411 MB / 0.5371 GB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5117, allocations: 55.41 kB / 0.5372 GB, free: 12.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.5119, allocations: 205.6 kB / 0.5374 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.512, allocations: 35.77 kB / 0.5374 GB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.5121, allocations: 147.4 kB / 0.5376 GB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.5121, allocations: 91.88 kB / 0.5376 GB, free: 12.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.5122, allocations: 6.25 kB / 0.5376 GB, free: 12.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5123, allocations: 332.5 kB / 0.538 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.5125, allocations: 150.8 kB / 0.5381 GB, free: 11.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.5128, allocations: 151.2 kB / 0.5383 GB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.513, allocations: 165.7 kB / 0.5384 GB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.513, allocations: 4 kB / 0.5384 GB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00129/0.5143, allocations: 0.5933 MB / 0.539 GB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5143, allocations: 5.562 kB / 0.539 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5144, allocations: 0 / 0.539 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5154, allocations: 257.8 kB / 0.5392 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.5156, allocations: 35.98 kB / 0.5393 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.5192, allocations: 2.53 MB / 0.5418 GB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.5195, allocations: 19.09 kB / 0.5418 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5195, allocations: 11.81 kB / 0.5418 GB, free: 8.766 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.5196, allocations: 112.7 kB / 0.5419 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.5197, allocations: 31.7 kB / 0.5419 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.5211, allocations: 0.6105 MB / 0.5425 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5211, allocations: 0 / 0.5425 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.5211, allocations: 4 kB / 0.5425 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5211, allocations: 0 / 0.5425 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.5229, allocations: 1.091 MB / 0.5436 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.523, allocations: 0 / 0.5436 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.5231, allocations: 35.92 kB / 0.5436 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009279/0.524, allocations: 246.7 kB / 0.5439 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.5241, allocations: 7.75 kB / 0.5439 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.5273, allocations: 2.497 MB / 0.5463 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.5273, allocations: 0 / 0.5463 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5286, allocations: 0.6538 MB / 0.5469 GB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.5287, allocations: 104.2 kB / 0.547 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.5287, allocations: 7.484 kB / 0.547 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.5289, allocations: 11.56 kB / 0.5471 GB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.529, allocations: 31.38 kB / 0.5471 GB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.529, allocations: 4 kB / 0.5471 GB, free: 4.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.5292, allocations: 173.9 kB / 0.5473 GB, free: 4.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5292, allocations: 0 / 0.5473 GB, free: 4.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004321/0.5297, allocations: 119.3 kB / 0.5474 GB, free: 4.223 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.5313, allocations: 1.209 MB / 0.5485 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.5325, allocations: 0.5561 MB / 0.5491 GB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5325, allocations: 4 kB / 0.5491 GB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.5332, allocations: 381.2 kB / 0.5495 GB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.5335, allocations: 19.55 kB / 0.5495 GB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.5345, allocations: 409.1 kB / 0.5499 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.5349, allocations: 0.7566 MB / 0.5506 GB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.535, allocations: 30.14 kB / 0.5506 GB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5351, allocations: 74.66 kB / 0.5507 GB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 2.575e-06/0.5351, allocations: 0 / 0.5507 GB, free: 1.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.5586, allocations: 8.231 MB / 0.5587 GB, free: 9.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.5589, allocations: 182.9 kB / 0.5589 GB, free: 8.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.674, allocations: 7.938 kB / 0.5589 GB, free: 8.938 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)