Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.000716/0.0007161, 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.0007656/0.0007656, allocations: 177.5 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.241/1.241, allocations: 223.3 MB / 240.7 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1409/0.1409, allocations: 8.085 MB / 299.8 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 12 kB / 363 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08191, allocations: 52.51 MB / 415.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00194/0.08389, allocations: 1.778 MB / 417.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.0859, allocations: 1.587 MB / 418.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.08607, allocations: 7.938 kB / 418.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.08637, allocations: 103.5 kB / 418.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.08675, allocations: 167 kB / 419.1 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.08814, allocations: 0.7824 MB / 419.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.08859, allocations: 374 kB / 420.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.0888, allocations: 101.8 kB / 420.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.08898, allocations: 151.4 kB / 420.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.08925, allocations: 195.2 kB / 420.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.08931, allocations: 16 kB / 420.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.08967, allocations: 199.8 kB / 420.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.08974, allocations: 63.69 kB / 421 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.08982, allocations: 89.52 kB / 421 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.09023, allocations: 399.2 kB / 421.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.09025, allocations: 0 / 421.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09026, allocations: 0 / 421.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.09027, allocations: 4 kB / 421.4 MB, free: 2.652 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003184/0.09346, allocations: 1.084 MB / 422.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.0935, allocations: 8.031 kB / 422.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.944e-05/0.0936, allocations: 66.53 kB / 422.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.0937, allocations: 47.39 kB / 422.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.09407, allocations: 314.5 kB / 423 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.0941, allocations: 28.5 kB / 423 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.09416, allocations: 28 kB / 423 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.09476, allocations: 416.8 kB / 423.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.09478, allocations: 0 / 423.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.09482, allocations: 12 kB / 423.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.09483, allocations: 4 kB / 423.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.09537, allocations: 414 kB / 423.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.166/0.2614, allocations: 1.554 MB / 425.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.2624, allocations: 0.551 MB / 425.9 MB, free: 40.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2627, allocations: 279.8 kB / 426.2 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.2628, allocations: 11.55 kB / 426.2 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2628, allocations: 44.97 kB / 426.3 MB, free: 40.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.225e-06/0.2628, allocations: 0.5469 kB / 426.3 MB, free: 40.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.00357/0.2664, allocations: 1.635 MB / 427.9 MB, free: 39.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2664, allocations: 60.83 kB / 428 MB, free: 39.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.2667, allocations: 273.4 kB / 428.2 MB, free: 39.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.2667, allocations: 34.89 kB / 428.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.2668, allocations: 166.8 kB / 428.4 MB, free: 39.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/0.2669, allocations: 156.8 kB / 428.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2669, allocations: 13.38 kB / 428.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.267, allocations: 341.2 kB / 428.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.2673, allocations: 259.7 kB / 429.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.2676, allocations: 271.3 kB / 429.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.268, allocations: 283.8 kB / 429.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.268, allocations: 0 / 429.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001852/0.2699, allocations: 1.026 MB / 430.7 MB, free: 38.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2699, allocations: 6.406 kB / 430.8 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2699, allocations: 0.75 kB / 430.8 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.2713, allocations: 423.5 kB / 431.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.2716, allocations: 77.81 kB / 431.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.2763, allocations: 5.66 MB / 436.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.2765, allocations: 44.92 kB / 436.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.2766, allocations: 13.97 kB / 437 MB, free: 34.29 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 (46): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.2767, allocations: 161.2 kB / 437.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.2768, allocations: 35.69 kB / 437.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2787, allocations: 1.001 MB / 438.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2787, allocations: 3.188 kB / 438.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2787, allocations: 0 / 438.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2787, allocations: 7.234 kB / 438.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.2791, allocations: 0.5652 MB / 438.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2791, allocations: 0 / 438.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2793, allocations: 63.2 kB / 438.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.2807, allocations: 422.2 kB / 439.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.2807, allocations: 8 kB / 439.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.2849, allocations: 5.592 MB / 444.8 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2849, allocations: 0 / 444.8 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.2866, allocations: 1.016 MB / 445.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.2866, allocations: 114.3 kB / 445.9 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.2867, allocations: 14.8 kB / 445.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.287, allocations: 33.95 kB / 446 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/0.287, allocations: 41.94 kB / 446 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.2871, allocations: 20.64 kB / 446 MB, free: 27.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.2872, allocations: 199.9 kB / 446.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2873, allocations: 0 / 446.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000509/0.2878, allocations: 174.3 kB / 446.4 MB, free: 27.47 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 (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.2897, allocations: 1.575 MB / 448 MB, free: 26.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.2911, allocations: 1.071 MB / 449.1 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2912, allocations: 0 / 449.1 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009837/0.2921, allocations: 0.7618 MB / 449.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2925, allocations: 46.59 kB / 449.9 MB, free: 25.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.2962, allocations: 2.812 MB / 452.7 MB, free: 23.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2964, allocations: 0.7957 MB / 453.5 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.2966, allocations: 53.53 kB / 453.5 MB, free: 23.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2967, allocations: 120.7 kB / 453.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2968, allocations: 0.9375 kB / 453.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.3212, allocations: 12.97 MB / 466.6 MB, free: 22.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.3214, allocations: 209.6 kB / 466.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.125, allocations: 0.875 kB / 466.8 MB, free: 21.82 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) Environment - environmentSimulation: