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.0007236/0.0007234, allocations: 96.47 kB / 15.74 MB, free: 424 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.0008633/0.000863, allocations: 172.9 kB / 16.62 MB, free: 6.434 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.236/1.236, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1579/0.1579, allocations: 8.089 MB / 299.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 12 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08788, allocations: 52.52 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.001467/0.08938, allocations: 1.217 MB / 416.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.09118, allocations: 1.462 MB / 418.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.09131, allocations: 4 kB / 418.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.09161, allocations: 87.59 kB / 418.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.09193, allocations: 127.3 kB / 418.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.09334, allocations: 0.8368 MB / 419.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.09366, allocations: 226.8 kB / 419.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.0938, allocations: 68.09 kB / 419.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.09392, allocations: 87.64 kB / 419.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.09412, allocations: 111.5 kB / 419.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.09416, allocations: 12 kB / 419.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.09456, allocations: 215.7 kB / 419.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.09461, allocations: 35.84 kB / 419.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.09467, allocations: 69.52 kB / 420 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.09502, allocations: 295.5 kB / 420.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09503, allocations: 0 / 420.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09504, allocations: 0 / 420.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.09505, allocations: 4 kB / 420.3 MB, free: 3.77 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.003049/0.0981, allocations: 0.963 MB / 421.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.09816, allocations: 8.031 kB / 421.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.09823, allocations: 46.55 kB / 421.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.09831, allocations: 31.67 kB / 421.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.09864, allocations: 266.6 kB / 421.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.09866, allocations: 12.33 kB / 421.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.09871, allocations: 20 kB / 421.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.09917, allocations: 302.3 kB / 421.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.09919, allocations: 0 / 421.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.09922, allocations: 11.98 kB / 421.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.09924, allocations: 7.953 kB / 421.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.0996, allocations: 243.9 kB / 422.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.1011, allocations: 1.168 MB / 423.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.1017, allocations: 306.4 kB / 423.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.102, allocations: 156.8 kB / 423.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.102, allocations: 4.438 kB / 423.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1645/0.2666, allocations: 36.41 kB / 423.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.356e-06/0.2666, allocations: 0 / 423.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003375/0.27, allocations: 1.056 MB / 424.9 MB, free: 41.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.2701, allocations: 109.5 kB / 425 MB, free: 41.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.2705, allocations: 221.6 kB / 425.2 MB, free: 41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.2705, allocations: 33.77 kB / 425.3 MB, free: 40.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2707, allocations: 141.2 kB / 425.4 MB, free: 40.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.2707, allocations: 86.95 kB / 425.5 MB, free: 40.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.2708, allocations: 3.938 kB / 425.5 MB, free: 40.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.2708, allocations: 332.4 kB / 425.8 MB, free: 40.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.2711, allocations: 171.5 kB / 426 MB, free: 40.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.2714, allocations: 215.5 kB / 426.2 MB, free: 40.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.2717, allocations: 186.2 kB / 426.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2717, allocations: 1.359 kB / 426.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001669/0.2734, allocations: 0.7337 MB / 427.1 MB, free: 40.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2734, allocations: 6.484 kB / 427.1 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2734, allocations: 3.375 kB / 427.1 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.2751, allocations: 420.4 kB / 427.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2753, allocations: 56.47 kB / 427.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.2786, allocations: 2.512 MB / 430.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.2788, allocations: 35.78 kB / 430.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2788, allocations: 12.5 kB / 430.1 MB, free: 39.12 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.0001174/0.279, allocations: 142.8 kB / 430.3 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.279, allocations: 20.59 kB / 430.3 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.2808, allocations: 0.6923 MB / 431 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2808, allocations: 3.156 kB / 431 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2808, allocations: 4.703 kB / 431 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2808, allocations: 1.375 kB / 431 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.2811, allocations: 397.6 kB / 431.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2812, allocations: 6.641 kB / 431.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2813, allocations: 31.66 kB / 431.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.2829, allocations: 422.3 kB / 431.8 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.283, allocations: 7.688 kB / 431.8 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/0.286, allocations: 2.468 MB / 434.3 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.286, allocations: 14.42 kB / 434.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.2876, allocations: 0.7394 MB / 435.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.2876, allocations: 106.6 kB / 435.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2877, allocations: 7.906 kB / 435.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.2879, allocations: 24.62 kB / 435.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.288, allocations: 20.27 kB / 435.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.288, allocations: 11.19 kB / 435.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2881, allocations: 160.2 kB / 435.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.2881, allocations: 0 / 435.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.2885, allocations: 114.7 kB / 435.5 MB, free: 36.71 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.001713/0.2902, allocations: 1.293 MB / 436.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2913, allocations: 0.6014 MB / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2913, allocations: 4 kB / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2921, allocations: 406.7 kB / 437.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2924, allocations: 31.12 kB / 437.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.2954, allocations: 1.942 MB / 439.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2955, allocations: 0.7474 MB / 440.5 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.2956, allocations: 33.91 kB / 440.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.2957, allocations: 71.16 kB / 440.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2957, allocations: 0 / 440.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.3145, allocations: 8.742 MB / 449.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.3147, allocations: 217.2 kB / 449.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.961, allocations: 3.25 kB / 449.6 MB, free: 32.61 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: