Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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/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 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.000794/0.000794, allocations: 96.94 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 170.9 kB / 16.62 MB, free: 6.434 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.278/1.278, allocations: 223.3 MB / 240.7 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.139/0.139, allocations: 8.08 MB / 299.8 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.0869, allocations: 52.52 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001476/0.08841, allocations: 1.175 MB / 416.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.09028, allocations: 1.447 MB / 418.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.09038, allocations: 4 kB / 418.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.09066, allocations: 91.59 kB / 418.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.09088, allocations: 99.42 kB / 418.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.09215, allocations: 0.7359 MB / 419 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.09243, allocations: 222.8 kB / 419.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.09257, allocations: 64.11 kB / 419.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.09266, allocations: 79.72 kB / 419.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.09284, allocations: 115.5 kB / 419.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.09288, allocations: 12 kB / 419.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.09318, allocations: 187.8 kB / 419.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.09323, allocations: 35.83 kB / 419.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.09329, allocations: 69.58 kB / 419.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.09359, allocations: 267.6 kB / 420 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.0936, allocations: 3.938 kB / 420 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09361, allocations: 0 / 420 MB, free: 4.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.09362, allocations: 0 / 420 MB, free: 4.016 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002096/0.09572, allocations: 0.7837 MB / 420.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.09577, allocations: 8.031 kB / 420.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.09584, allocations: 46.55 kB / 420.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.0959, allocations: 31.67 kB / 420.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.09619, allocations: 255.2 kB / 421.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.09621, allocations: 8.328 kB / 421.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.09626, allocations: 27.98 kB / 421.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.09667, allocations: 251.8 kB / 421.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.09669, allocations: 11.94 kB / 421.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.09672, allocations: 4 kB / 421.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.09674, allocations: 7.953 kB / 421.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.0971, allocations: 251.8 kB / 421.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.09844, allocations: 1.121 MB / 422.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.09903, allocations: 317 kB / 423.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.09925, allocations: 156.8 kB / 423.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.09931, allocations: 16.39 kB / 423.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.09934, allocations: 38.56 kB / 423.4 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.09935, allocations: 0 / 423.4 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.1574/0.2567, allocations: 0.9559 MB / 424.3 MB, free: 41.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2568, allocations: 54.44 kB / 424.4 MB, free: 41.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.257, allocations: 193.7 kB / 424.6 MB, free: 40.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.257, allocations: 32.92 kB / 424.6 MB, free: 40.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2571, allocations: 128.9 kB / 424.7 MB, free: 40.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.2571, allocations: 84.69 kB / 424.8 MB, free: 40.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.2571, allocations: 6.312 kB / 424.8 MB, free: 40.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2572, allocations: 337.2 kB / 425.1 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.2574, allocations: 150 kB / 425.3 MB, free: 40.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2576, allocations: 161.5 kB / 425.4 MB, free: 40.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.2578, allocations: 173.6 kB / 425.6 MB, free: 40.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2578, allocations: 0 / 425.6 MB, free: 40.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00128/0.2591, allocations: 0.634 MB / 426.2 MB, free: 40.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2592, allocations: 5.359 kB / 426.2 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2592, allocations: 0 / 426.2 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.2603, allocations: 328.4 kB / 426.6 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2605, allocations: 47.25 kB / 426.6 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2635, allocations: 2.539 MB / 429.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2637, allocations: 24.62 kB / 429.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2637, allocations: 6.688 kB / 429.2 MB, free: 39.05 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 (27): * Single equations (assignments): 26 * 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 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.2638, allocations: 137.5 kB / 429.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.2639, allocations: 25 kB / 429.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.2651, allocations: 0.617 MB / 430 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2651, allocations: 2.812 kB / 430 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2651, allocations: 4.828 kB / 430 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2652, allocations: 3.141 kB / 430 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.2655, allocations: 381.5 kB / 430.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2655, allocations: 0 / 430.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.2656, allocations: 33.64 kB / 430.4 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.2666, allocations: 313.5 kB / 430.7 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.2667, allocations: 7.75 kB / 430.7 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.2693, allocations: 2.516 MB / 433.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2693, allocations: 4.453 kB / 433.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2705, allocations: 0.6647 MB / 433.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2705, allocations: 97.17 kB / 434 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.2706, allocations: 6.25 kB / 434 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2708, allocations: 20.94 kB / 434 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.2708, allocations: 29.05 kB / 434 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2709, allocations: 11.02 kB / 434 MB, free: 36.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.271, allocations: 146.6 kB / 434.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.271, allocations: 0 / 434.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.2713, allocations: 102.5 kB / 434.3 MB, free: 36.8 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 (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 {6 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.2726, allocations: 1.215 MB / 435.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2737, allocations: 0.6089 MB / 436.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2737, allocations: 4 kB / 436.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.2744, allocations: 433.7 kB / 436.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2747, allocations: 24.89 kB / 436.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.2771, allocations: 1.773 MB / 438.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2772, allocations: 0.7487 MB / 439.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.806e-05/0.2773, allocations: 34.95 kB / 439.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.2774, allocations: 65.83 kB / 439.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2774, allocations: 0 / 439.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.2936, allocations: 7.528 MB / 446.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.2938, allocations: 210.6 kB / 446.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.961, allocations: 0 / 446.9 MB, free: 32.84 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: