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/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.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.0008888/0.0008889, allocations: 95.34 kB / 15.73 MB, free: 440 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.0008741/0.0008742, allocations: 180.6 kB / 16.61 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.265/1.265, allocations: 223.2 MB / 240.5 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.15/0.15, allocations: 8.09 MB / 299.7 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 12 kB / 362.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.08926, allocations: 52.5 MB / 415.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.001431/0.09073, allocations: 1.138 MB / 416.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.0924, allocations: 1.466 MB / 418 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.09247, allocations: 4 kB / 418 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.09273, allocations: 87.52 kB / 418.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.093, allocations: 139.6 kB / 418.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.0944, allocations: 0.8331 MB / 419 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.09468, allocations: 171.5 kB / 419.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.09482, allocations: 79.17 kB / 419.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.09492, allocations: 87.69 kB / 419.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.09509, allocations: 107.5 kB / 419.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.09512, allocations: 8 kB / 419.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.09544, allocations: 195.7 kB / 419.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.09548, allocations: 35.89 kB / 419.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.09554, allocations: 65.58 kB / 419.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.09587, allocations: 291.5 kB / 420 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.09588, allocations: 0 / 420 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09589, allocations: 4 kB / 420 MB, free: 3.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.0959, allocations: 0 / 420 MB, free: 3.98 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003332/0.09924, allocations: 0.9552 MB / 421 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.09929, allocations: 8.031 kB / 421 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.09936, allocations: 54.44 kB / 421.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.09943, allocations: 27.72 kB / 421.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.09973, allocations: 250.7 kB / 421.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.09975, allocations: 20.33 kB / 421.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.0998, allocations: 20 kB / 421.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.1003, allocations: 302.3 kB / 421.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1003, allocations: 3.984 kB / 421.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1003, allocations: 15.94 kB / 421.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1003, allocations: 7.953 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.1007, allocations: 243.8 kB / 421.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.1023, allocations: 1.176 MB / 423.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.1028, allocations: 311.1 kB / 423.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.1029, allocations: 8 kB / 423.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1029, allocations: 30.56 kB / 423.4 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.1029, allocations: 4 kB / 423.5 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.1522/0.2551, allocations: 1.057 MB / 424.5 MB, free: 40.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.2552, allocations: 105.6 kB / 424.6 MB, free: 40.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.2554, allocations: 217 kB / 424.8 MB, free: 40.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2555, allocations: 31.73 kB / 424.9 MB, free: 40.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.2555, allocations: 137.2 kB / 425 MB, free: 40.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.2556, allocations: 88.84 kB / 425.1 MB, free: 40.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.2556, allocations: 9.094 kB / 425.1 MB, free: 40.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.2557, allocations: 334.6 kB / 425.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2559, allocations: 169.6 kB / 425.6 MB, free: 39.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2561, allocations: 208.2 kB / 425.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2564, allocations: 189.7 kB / 426 MB, free: 39.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2564, allocations: 3.844 kB / 426 MB, free: 39.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001781/0.2582, allocations: 0.7299 MB / 426.7 MB, free: 39.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2582, allocations: 6.469 kB / 426.7 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2582, allocations: 4.234 kB / 426.7 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.2601, allocations: 424.3 kB / 427.1 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2604, allocations: 60.25 kB / 427.2 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.2638, allocations: 2.576 MB / 429.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.2641, allocations: 34.8 kB / 429.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.2642, allocations: 13.33 kB / 429.8 MB, free: 38.35 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 (33): * Single equations (assignments): 32 * 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 {4 4} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.2643, allocations: 132.8 kB / 429.9 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2643, allocations: 26.42 kB / 430 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.2662, allocations: 0.6932 MB / 430.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2662, allocations: 3.125 kB / 430.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2662, allocations: 2.812 kB / 430.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2662, allocations: 11.2 kB / 430.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.2665, allocations: 389.4 kB / 431.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2665, allocations: 0.5 kB / 431.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2667, allocations: 40.98 kB / 431.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.2686, allocations: 423.3 kB / 431.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2686, allocations: 3.938 kB / 431.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.2718, allocations: 2.544 MB / 434.1 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2718, allocations: 0 / 434.1 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.2735, allocations: 0.7432 MB / 434.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2736, allocations: 105.6 kB / 434.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.2736, allocations: 7.297 kB / 434.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2739, allocations: 23.67 kB / 434.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.274, allocations: 22.84 kB / 435 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.274, allocations: 13.44 kB / 435 MB, free: 36.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2741, allocations: 164.2 kB / 435.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.2741, allocations: 0 / 435.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.2746, allocations: 112.1 kB / 435.2 MB, free: 36.27 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 (22): * Single equations (assignments): 21 * 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 {4 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.2765, allocations: 1.282 MB / 436.5 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.2776, allocations: 0.6131 MB / 437.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2776, allocations: 7.938 kB / 437.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.2785, allocations: 406.8 kB / 437.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2787, allocations: 17.89 kB / 437.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.2796, allocations: 0.8266 MB / 438.4 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2797, allocations: 0.7591 MB / 439.1 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2798, allocations: 35.41 kB / 439.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2799, allocations: 75.72 kB / 439.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2799, allocations: 0 / 439.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.297, allocations: 8.637 MB / 447.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2972, allocations: 211.9 kB / 448.1 MB, free: 32.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.978, allocations: 0 / 448.1 MB, free: 32.71 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) Environment - environmentSimulation: