Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001905/0.001905, allocations: 105 kB / 16.31 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 184.6 kB / 17.24 MB, free: 5.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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05135/0.05135, allocations: 8.098 MB / 299.2 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2277, allocations: 51.51 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003567/0.2313, allocations: 2.309 MB / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.234, allocations: 1.664 MB / 417.3 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.2343, allocations: 8 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.2349, allocations: 163 kB / 417.5 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2354, allocations: 206.6 kB / 417.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.2377, allocations: 1.218 MB / 418.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.2383, allocations: 402 kB / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2386, allocations: 129.5 kB / 419.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2388, allocations: 171.4 kB / 419.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.239, allocations: 211 kB / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.2391, allocations: 32 kB / 419.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.2397, allocations: 271.8 kB / 420.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.2398, allocations: 79.67 kB / 420.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.24, allocations: 191 kB / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.2407, allocations: 0.5764 MB / 420.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2407, allocations: 0 / 420.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2407, allocations: 0 / 420.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2407, allocations: 4 kB / 420.9 MB, free: 17.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.006235/0.2469, allocations: 1.361 MB / 422.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.247, allocations: 15.89 kB / 422.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.606e-05/0.2471, allocations: 62.72 kB / 422.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2473, allocations: 44.47 kB / 422.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.2477, allocations: 319.5 kB / 422.7 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2478, allocations: 28.94 kB / 422.8 MB, free: 16.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.2479, allocations: 32.38 kB / 422.8 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.2488, allocations: 476.9 kB / 423.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2488, allocations: 3.938 kB / 423.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.2489, allocations: 12 kB / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2489, allocations: 7.938 kB / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.2497, allocations: 426.1 kB / 423.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.2528, allocations: 2.021 MB / 425.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.2541, allocations: 0.518 MB / 426.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.2546, allocations: 280.8 kB / 426.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/0.2547, allocations: 19.98 kB / 426.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2548, allocations: 34.56 kB / 426.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.326e-06/0.2548, allocations: 0 / 426.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.01024/0.265, allocations: 1.919 MB / 428.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.2651, allocations: 110.8 kB / 428.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.2656, allocations: 274.9 kB / 428.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-05/0.2657, allocations: 37.7 kB / 428.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2658, allocations: 160.9 kB / 429.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.266, allocations: 149.8 kB / 429.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.2663, allocations: 110.2 kB / 429.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.2664, allocations: 342.8 kB / 429.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.267, allocations: 293 kB / 429.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.2677, allocations: 352.6 kB / 430.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.269, allocations: 0.6529 MB / 430.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.269, allocations: 0 / 430.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004809/0.2738, allocations: 1.256 MB / 432.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.2739, allocations: 7.938 kB / 432.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2739, allocations: 0 / 432.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004774/0.2787, allocations: 0.785 MB / 433 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.2793, allocations: 87.88 kB / 433.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.2895, allocations: 4.172 MB / 437.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.2902, allocations: 55.45 kB / 437.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.2903, allocations: 16 kB / 437.3 MB, free: 0.9727 MB / 302.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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.2906, allocations: 157.7 kB / 437.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.2908, allocations: 35.62 kB / 437.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.2957, allocations: 1.222 MB / 438.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2958, allocations: 7.984 kB / 438.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2958, allocations: 0 / 438.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.2958, allocations: 0 / 438.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2968, allocations: 0.5636 MB / 439.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2968, allocations: 3.938 kB / 439.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.2972, allocations: 59.91 kB / 439.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004979/0.3022, allocations: 0.7528 MB / 440.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.3023, allocations: 15.98 kB / 440.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.3125, allocations: 4.14 MB / 444.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3126, allocations: 0 / 444.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.3174, allocations: 1.222 MB / 445.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.3177, allocations: 116.5 kB / 445.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3178, allocations: 12 kB / 445.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.3184, allocations: 27.97 kB / 445.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.3186, allocations: 40.33 kB / 445.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.3187, allocations: 16 kB / 445.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.3191, allocations: 193.9 kB / 445.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3191, allocations: 0 / 445.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3201, allocations: 187.8 kB / 446.1 MB, free: 7.965 MB / 318.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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005582/0.3257, allocations: 1.783 MB / 447.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.33, allocations: 1.07 MB / 448.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3301, allocations: 0 / 448.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.3329, allocations: 0.6727 MB / 449.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.3336, allocations: 41.39 kB / 449.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.3485, allocations: 5.226 MB / 454.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.3491, allocations: 0.8011 MB / 455.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.3495, allocations: 54.92 kB / 455.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.3498, allocations: 123.4 kB / 455.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.054e-06/0.3498, allocations: 0 / 455.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/0.3999, allocations: 15.02 MB / 470.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.26, allocations: 11.03 kB / 470.9 MB, free: 15.15 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)