Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001556/0.001556, allocations: 101.4 kB / 16.31 MB, free: 6.391 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.001738/0.001738, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04942/0.04942, allocations: 8.098 MB / 299.2 MB, free: 6.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 68.06 kB / 361.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 51.51 MB / 413.3 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002449/0.2281, allocations: 1.614 MB / 415 MB, free: 23.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2296, allocations: 1.555 MB / 416.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.2297, allocations: 4 kB / 416.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.23, allocations: 131.3 kB / 416.6 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.2303, allocations: 135.1 kB / 416.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2316, allocations: 1.026 MB / 417.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.2319, allocations: 246.8 kB / 418 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.232, allocations: 84.22 kB / 418.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.2321, allocations: 99.58 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2322, allocations: 139.4 kB / 418.4 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2323, allocations: 16 kB / 418.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.2326, allocations: 235.8 kB / 418.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.2326, allocations: 47.83 kB / 418.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.2327, allocations: 127.3 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.2331, allocations: 409.1 kB / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2331, allocations: 0 / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2331, allocations: 4 kB / 419.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2331, allocations: 0 / 419.2 MB, free: 19.74 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003208/0.2363, allocations: 0.9866 MB / 420.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2364, allocations: 11.89 kB / 420.2 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.2364, allocations: 54.73 kB / 420.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.2365, allocations: 28.59 kB / 420.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2367, allocations: 263.9 kB / 420.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2368, allocations: 16.7 kB / 420.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.2368, allocations: 20.31 kB / 420.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.2372, allocations: 298.6 kB / 420.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2372, allocations: 3.938 kB / 420.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.2372, allocations: 8 kB / 420.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2372, allocations: 4 kB / 420.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2376, allocations: 243.9 kB / 421.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2389, allocations: 1.176 MB / 422.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.2394, allocations: 311.3 kB / 422.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.2396, allocations: 160.8 kB / 422.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.2397, allocations: 11.97 kB / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.2397, allocations: 34.56 kB / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.2397, allocations: 0 / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003561/0.2433, allocations: 1.074 MB / 423.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2433, allocations: 106.8 kB / 424 MB, free: 14.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2435, allocations: 210.9 kB / 424.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2435, allocations: 37.7 kB / 424.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2436, allocations: 128.8 kB / 424.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.2436, allocations: 86.75 kB / 424.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2437, allocations: 73.58 kB / 424.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.2438, allocations: 330.8 kB / 424.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.244, allocations: 184.1 kB / 425 MB, free: 13.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2442, allocations: 210.4 kB / 425.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.2447, allocations: 377.5 kB / 425.6 MB, free: 13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2447, allocations: 3.984 kB / 425.6 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001828/0.2465, allocations: 0.7436 MB / 426.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2466, allocations: 4 kB / 426.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2466, allocations: 4 kB / 426.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.2486, allocations: 420.3 kB / 426.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2488, allocations: 63.91 kB / 426.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.2525, allocations: 2.742 MB / 429.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2528, allocations: 39.67 kB / 429.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2528, allocations: 8 kB / 429.6 MB, free: 8.836 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.253, allocations: 145.8 kB / 429.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.2531, allocations: 19.72 kB / 429.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.2549, allocations: 0.6911 MB / 430.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2549, allocations: 4 kB / 430.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.255, allocations: 4 kB / 430.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.255, allocations: 7.938 kB / 430.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2552, allocations: 393.3 kB / 430.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2553, allocations: 0 / 430.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2554, allocations: 39.92 kB / 430.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.2573, allocations: 420.6 kB / 431.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.2574, allocations: 8 kB / 431.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.2607, allocations: 2.699 MB / 434 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2607, allocations: 0 / 434 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2624, allocations: 0.7422 MB / 434.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.2625, allocations: 100.9 kB / 434.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2626, allocations: 0 / 434.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.2628, allocations: 27.92 kB / 434.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.2629, allocations: 16.06 kB / 434.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.2629, allocations: 19.97 kB / 434.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.263, allocations: 160.4 kB / 435 MB, free: 3.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2631, allocations: 0 / 435 MB, free: 3.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.2635, allocations: 107.9 kB / 435.2 MB, free: 3.012 MB / 302.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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/0.2654, allocations: 1.295 MB / 436.4 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2667, allocations: 0.6311 MB / 437.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2668, allocations: 0 / 437.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.2676, allocations: 414.4 kB / 437.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.268, allocations: 31.89 kB / 437.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.274, allocations: 3.5 MB / 441 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.2744, allocations: 0.7485 MB / 441.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.2745, allocations: 29.92 kB / 441.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2746, allocations: 75.41 kB / 441.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2747, allocations: 3.938 kB / 441.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3032, allocations: 9.544 MB / 451.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.16, allocations: 0 / 451.4 MB, free: 2.68 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_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_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)