Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.0007869/0.0007869, allocations: 103 kB / 16.07 MB, free: 32 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.0009021/0.0009021, allocations: 182.5 kB / 16.96 MB, free: 6.879 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.314/1.314, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1524/0.1524, allocations: 8.083 MB / 300.2 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09276, allocations: 52.51 MB / 416.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002479/0.09528, allocations: 2.423 MB / 418.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.09754, allocations: 1.727 MB / 420.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.09767, allocations: 8 kB / 420.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.09804, allocations: 155.3 kB / 420.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.0985, allocations: 226.8 kB / 420.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.1003, allocations: 1.078 MB / 421.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.1011, allocations: 0.4936 MB / 422.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.1013, allocations: 136.5 kB / 422.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1015, allocations: 187.2 kB / 422.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.1018, allocations: 238.9 kB / 422.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.1018, allocations: 24 kB / 422.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.1023, allocations: 239.8 kB / 423 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1023, allocations: 83.61 kB / 423.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.1026, allocations: 260.4 kB / 423.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.1033, allocations: 0.6346 MB / 424 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1033, allocations: 0 / 424 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1033, allocations: 4 kB / 424 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1033, allocations: 0 / 424 MB, free: 368 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.1606/0.2639, allocations: 1.58 MB / 425.6 MB, free: 41.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.264, allocations: 10.22 kB / 425.6 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2641, allocations: 71.38 kB / 425.6 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.2642, allocations: 54.69 kB / 425.7 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.2645, allocations: 372.3 kB / 426.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2645, allocations: 31.31 kB / 426.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.2646, allocations: 43.03 kB / 426.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.2655, allocations: 0.5983 MB / 426.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2655, allocations: 7.781 kB / 426.7 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.2655, allocations: 14.62 kB / 426.8 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2655, allocations: 11.2 kB / 426.8 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.2663, allocations: 0.5431 MB / 427.3 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.2691, allocations: 2.241 MB / 429.6 MB, free: 39.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.2701, allocations: 0.8874 MB / 430.4 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.2706, allocations: 395 kB / 430.8 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.272, allocations: 1.333 MB / 432.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.272, allocations: 44.95 kB / 432.2 MB, free: 39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.272, allocations: 4 kB / 432.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009377/0.2814, allocations: 2.659 MB / 434.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2815, allocations: 112.4 kB / 435 MB, free: 38.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2817, allocations: 336.5 kB / 435.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.2818, allocations: 40.95 kB / 435.3 MB, free: 38.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.2819, allocations: 197.9 kB / 435.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.282, allocations: 189.1 kB / 435.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.2821, allocations: 74 kB / 435.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.2822, allocations: 353.3 kB / 436.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.2827, allocations: 404.7 kB / 436.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.2832, allocations: 0.5064 MB / 437 MB, free: 36.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2843, allocations: 0.944 MB / 438 MB, free: 36.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2843, allocations: 3.844 kB / 438 MB, free: 36.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004252/0.2886, allocations: 1.785 MB / 439.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2886, allocations: 6.688 kB / 439.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2886, allocations: 7.5 kB / 439.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.2931, allocations: 1.096 MB / 440.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.2936, allocations: 121.8 kB / 441 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007548/0.3012, allocations: 4.796 MB / 445.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.3018, allocations: 82.42 kB / 445.9 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.3019, allocations: 30.64 kB / 445.9 MB, free: 32.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.3021, allocations: 175.2 kB / 446.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.3022, allocations: 45.03 kB / 446.1 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/0.3065, allocations: 1.628 MB / 447.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3065, allocations: 6.406 kB / 447.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3066, allocations: 6.406 kB / 447.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3066, allocations: 3.562 kB / 447.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.3072, allocations: 0.6659 MB / 448.4 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3072, allocations: 0.625 kB / 448.4 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.3075, allocations: 70.11 kB / 448.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/0.3119, allocations: 1.033 MB / 449.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.312, allocations: 11.06 kB / 449.5 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/0.3194, allocations: 4.761 MB / 454.3 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3195, allocations: 4 kB / 454.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/0.3236, allocations: 1.629 MB / 455.9 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3237, allocations: 133.2 kB / 456.1 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.3238, allocations: 10.38 kB / 456.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3242, allocations: 27.95 kB / 456.1 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3244, allocations: 50.67 kB / 456.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3244, allocations: 15.72 kB / 456.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3246, allocations: 222.2 kB / 456.4 MB, free: 26.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3246, allocations: 0 / 456.4 MB, free: 26.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000737/0.3254, allocations: 238.7 kB / 456.6 MB, free: 26.73 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004282/0.3296, allocations: 2.185 MB / 458.8 MB, free: 25.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.3323, allocations: 1.342 MB / 460.1 MB, free: 24.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.3323, allocations: 4.188 kB / 460.2 MB, free: 24.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.3342, allocations: 0.8114 MB / 461 MB, free: 24.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3346, allocations: 45.56 kB / 461 MB, free: 24.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.3471, allocations: 6.881 MB / 467.9 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3474, allocations: 0.8387 MB / 468.7 MB, free: 19.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.3476, allocations: 61.86 kB / 468.8 MB, free: 19.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3479, allocations: 152.1 kB / 468.9 MB, free: 19.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.073e-06/0.3479, allocations: 0 / 468.9 MB, free: 19.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.3791, allocations: 16.3 MB / 485.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001301/0.3793, allocations: 237.1 kB / 485.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.246, allocations: 0 / 485.5 MB, free: 14.98 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)