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.0007635/0.0007636, allocations: 97.41 kB / 16.06 MB, free: 40 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.0007596/0.0007596, allocations: 184.1 kB / 16.96 MB, free: 6.895 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.274/1.274, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1466/0.1466, allocations: 8.084 MB / 300.2 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09514, allocations: 52.53 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.001611/0.09679, allocations: 1.302 MB / 417.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.09855, allocations: 1.52 MB / 418.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.09862, allocations: 4 kB / 418.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.09892, allocations: 103.6 kB / 419 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.0992, allocations: 123.3 kB / 419.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1008, allocations: 0.9848 MB / 420.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1011, allocations: 234.9 kB / 420.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1013, allocations: 76.06 kB / 420.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.1014, allocations: 87.59 kB / 420.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1015, allocations: 123.4 kB / 420.7 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1016, allocations: 12 kB / 420.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.1019, allocations: 223.8 kB / 420.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.102, allocations: 39.83 kB / 420.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1021, allocations: 137 kB / 421.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.1025, allocations: 406.9 kB / 421.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1026, allocations: 0 / 421.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1026, allocations: 0 / 421.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1026, allocations: 0 / 421.5 MB, free: 2.922 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.003311/0.1059, allocations: 0.9515 MB / 422.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1059, allocations: 12.03 kB / 422.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.106, allocations: 50.73 kB / 422.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.1061, allocations: 28.66 kB / 422.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1064, allocations: 263.9 kB / 422.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1064, allocations: 20.64 kB / 422.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1064, allocations: 16.38 kB / 422.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.1069, allocations: 294.9 kB / 423.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1069, allocations: 3.938 kB / 423.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.107, allocations: 11.94 kB / 423.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.107, allocations: 4 kB / 423.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.1073, allocations: 251.9 kB / 423.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1644/0.2717, allocations: 1.163 MB / 424.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2723, allocations: 309.3 kB / 424.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2725, allocations: 158.1 kB / 425 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.2726, allocations: 8.609 kB / 425 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2726, allocations: 37.75 kB / 425 MB, free: 37.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.2726, allocations: 0 / 425 MB, free: 37.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003612/0.2763, allocations: 1.069 MB / 426.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2763, allocations: 110.9 kB / 426.2 MB, free: 37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.2765, allocations: 214.8 kB / 426.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.2766, allocations: 36.42 kB / 426.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.2766, allocations: 136.2 kB / 426.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.2767, allocations: 85.73 kB / 426.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.2767, allocations: 37.31 kB / 426.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.2768, allocations: 333.8 kB / 427 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.277, allocations: 170.9 kB / 427.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.2773, allocations: 211.1 kB / 427.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.2778, allocations: 388 kB / 427.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2778, allocations: 0 / 427.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001864/0.2797, allocations: 0.7374 MB / 428.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2797, allocations: 6.625 kB / 428.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2797, allocations: 8.219 kB / 428.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.2817, allocations: 422.2 kB / 428.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.282, allocations: 62.19 kB / 429 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.2855, allocations: 2.522 MB / 431.5 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.2858, allocations: 33.02 kB / 431.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2858, allocations: 13.08 kB / 431.6 MB, free: 34.99 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 (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.0001124/0.2859, allocations: 150.3 kB / 431.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.286, allocations: 17.31 kB / 431.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.2879, allocations: 0.6954 MB / 432.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2879, allocations: 4.734 kB / 432.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2879, allocations: 3.766 kB / 432.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2879, allocations: 1.547 kB / 432.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.2882, allocations: 398.9 kB / 432.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2882, allocations: 0.6875 kB / 432.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2883, allocations: 31.89 kB / 432.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.2902, allocations: 419.5 kB / 433.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.2902, allocations: 6.859 kB / 433.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.2933, allocations: 2.476 MB / 435.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2933, allocations: 7.922 kB / 435.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.2951, allocations: 0.7498 MB / 436.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.2951, allocations: 102.7 kB / 436.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.2952, allocations: 8.375 kB / 436.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.2954, allocations: 24.14 kB / 436.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2955, allocations: 20.25 kB / 436.7 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2955, allocations: 13.67 kB / 436.7 MB, free: 33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2957, allocations: 154.2 kB / 436.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2957, allocations: 0 / 436.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.2961, allocations: 104 kB / 436.9 MB, free: 32.92 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 (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.001912/0.298, allocations: 1.305 MB / 438.2 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2992, allocations: 0.6136 MB / 438.8 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2992, allocations: 0 / 438.8 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000841/0.3001, allocations: 402 kB / 439.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3004, allocations: 25.44 kB / 439.3 MB, free: 31.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.3056, allocations: 3.594 MB / 442.8 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3057, allocations: 0.7479 MB / 443.6 MB, free: 28.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3059, allocations: 35.53 kB / 443.6 MB, free: 28.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.306, allocations: 75.03 kB / 443.7 MB, free: 28.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.306, allocations: 0 / 443.7 MB, free: 28.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.3243, allocations: 8.835 MB / 452.5 MB, free: 28.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.3245, allocations: 222.6 kB / 452.8 MB, free: 28.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.102, allocations: 0 / 452.8 MB, free: 28.03 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/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)