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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007621/0.0007626, allocations: 84.19 kB / 15.75 MB, free: 416 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.000778/0.000778, allocations: 176.3 kB / 16.63 MB, free: 6.887 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.24/1.24, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1514/0.1514, allocations: 8.089 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 11.94 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.0863, allocations: 52.51 MB / 415.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001488/0.08782, allocations: 1.276 MB / 416.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.08939, allocations: 1.482 MB / 418.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.08947, allocations: 11.94 kB / 418.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.08971, allocations: 91.58 kB / 418.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.08994, allocations: 107.4 kB / 418.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.09113, allocations: 0.7359 MB / 419.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.0914, allocations: 242.7 kB / 419.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.09155, allocations: 76.52 kB / 419.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.09164, allocations: 87.64 kB / 419.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.09182, allocations: 127.4 kB / 419.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.09185, allocations: 12 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.09215, allocations: 183.8 kB / 419.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.0922, allocations: 47.77 kB / 419.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.09226, allocations: 69.58 kB / 420 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.09257, allocations: 303.4 kB / 420.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09258, allocations: 0 / 420.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09259, allocations: 0 / 420.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.0926, allocations: 0 / 420.3 MB, free: 3.766 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002144/0.09475, allocations: 0.8071 MB / 421.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.09479, allocations: 8.031 kB / 421.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.09486, allocations: 54.55 kB / 421.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.09492, allocations: 31.67 kB / 421.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.09519, allocations: 255.5 kB / 421.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.09522, allocations: 16.44 kB / 421.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.09527, allocations: 24 kB / 421.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.09569, allocations: 287.2 kB / 421.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.09571, allocations: 3.938 kB / 421.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.09574, allocations: 8 kB / 421.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.09576, allocations: 11.95 kB / 421.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.09616, allocations: 273.6 kB / 422.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.0975, allocations: 1.043 MB / 423.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.09834, allocations: 467.7 kB / 423.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.09858, allocations: 176.8 kB / 423.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.09864, allocations: 4 kB / 423.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.09867, allocations: 38.56 kB / 423.8 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.09868, allocations: 0 / 423.8 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.1544/0.2531, allocations: 0.9382 MB / 424.7 MB, free: 41.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.2531, allocations: 59.69 kB / 424.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2533, allocations: 217.7 kB / 425 MB, free: 41.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2533, allocations: 33.58 kB / 425 MB, free: 41.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.2534, allocations: 143 kB / 425.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.2535, allocations: 98.33 kB / 425.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.2535, allocations: 7.438 kB / 425.3 MB, free: 41.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.2536, allocations: 331 kB / 425.6 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.2538, allocations: 179.6 kB / 425.8 MB, free: 40.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.254, allocations: 177.3 kB / 425.9 MB, free: 40.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.2542, allocations: 194.4 kB / 426.1 MB, free: 40.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2542, allocations: 0 / 426.1 MB, free: 40.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001103/0.2553, allocations: 0.6506 MB / 426.8 MB, free: 40.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2554, allocations: 8.781 kB / 426.8 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2554, allocations: 0 / 426.8 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.2562, allocations: 246.6 kB / 427 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2564, allocations: 56.06 kB / 427.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.259, allocations: 2.498 MB / 429.6 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.2592, allocations: 32.16 kB / 429.6 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2592, allocations: 13.47 kB / 429.6 MB, free: 39.47 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 (32): * Single equations (assignments): 31 * 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.0001019/0.2593, allocations: 143.7 kB / 429.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.2594, allocations: 24.84 kB / 429.8 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2605, allocations: 0.5994 MB / 430.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2606, allocations: 3.344 kB / 430.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2606, allocations: 0.5 kB / 430.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2606, allocations: 7.422 kB / 430.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.2619, allocations: 1.055 MB / 431.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2619, allocations: 0.9375 kB / 431.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.262, allocations: 36.27 kB / 431.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.2628, allocations: 236.1 kB / 431.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2628, allocations: 5.562 kB / 431.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.2652, allocations: 2.48 MB / 434.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2653, allocations: 0 / 434.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/0.2663, allocations: 0.655 MB / 434.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.2663, allocations: 109.5 kB / 435 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2663, allocations: 4 kB / 435 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.2665, allocations: 13.41 kB / 435 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.2666, allocations: 30.89 kB / 435 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.2666, allocations: 6.375 kB / 435 MB, free: 36.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.2667, allocations: 165.6 kB / 435.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2667, allocations: 0 / 435.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00039/0.2671, allocations: 104.9 kB / 435.3 MB, free: 36.7 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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.2683, allocations: 1.208 MB / 436.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.2692, allocations: 0.6052 MB / 437.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2693, allocations: 0 / 437.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.2699, allocations: 402.9 kB / 437.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2702, allocations: 22.14 kB / 437.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.2726, allocations: 1.881 MB / 439.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2728, allocations: 0.7483 MB / 440.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2729, allocations: 35.83 kB / 440.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.273, allocations: 71.45 kB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.273, allocations: 0 / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.29, allocations: 8.144 MB / 448.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.2902, allocations: 199.8 kB / 448.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.957, allocations: 0 / 448.6 MB, free: 32.63 MB / 350.1 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) Environment - environmentSimulation: