Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.0007923/0.0007923, allocations: 97.09 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.000848/0.000848, allocations: 171.8 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.271/1.271, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1506/0.1506, allocations: 8.08 MB / 299.8 MB, free: 2.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08287/0.08316, allocations: 52.52 MB / 415.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.002457/0.08566, allocations: 2.298 MB / 417.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.08732, allocations: 1.559 MB / 419.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.08743, allocations: 8 kB / 419.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.0877, allocations: 123.3 kB / 419.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.08806, allocations: 198.9 kB / 419.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.08967, allocations: 1.008 MB / 420.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.09014, allocations: 437.8 kB / 421.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.0904, allocations: 140 kB / 421.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.09058, allocations: 171.3 kB / 421.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.09086, allocations: 243 kB / 421.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.09091, allocations: 24 kB / 421.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.09128, allocations: 247.7 kB / 421.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.09135, allocations: 71.69 kB / 422 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.09143, allocations: 105.5 kB / 422.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.09188, allocations: 498.6 kB / 422.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09189, allocations: 0 / 422.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0919, allocations: 0 / 422.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09191, allocations: 0 / 422.6 MB, free: 1.488 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.1567/0.2487, allocations: 1.445 MB / 424 MB, free: 41.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2487, allocations: 10.25 kB / 424 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.2489, allocations: 76.33 kB / 424.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.249, allocations: 53.22 kB / 424.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.2493, allocations: 344.5 kB / 424.5 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2493, allocations: 33.91 kB / 424.5 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.2494, allocations: 42.31 kB / 424.5 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.2502, allocations: 0.5748 MB / 425.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2502, allocations: 1.969 kB / 425.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.2502, allocations: 21.7 kB / 425.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2502, allocations: 8.578 kB / 425.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.2509, allocations: 0.5253 MB / 425.7 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.253, allocations: 2.288 MB / 428 MB, free: 39.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000859/0.2539, allocations: 0.8453 MB / 428.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.2542, allocations: 323.6 kB / 429.1 MB, free: 39.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.005e-05/0.2543, allocations: 16.67 kB / 429.1 MB, free: 39.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2543, allocations: 41.34 kB / 429.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.623e-06/0.2543, allocations: 0 / 429.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.005627/0.26, allocations: 2.016 MB / 431.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.26, allocations: 109.5 kB / 431.3 MB, free: 38.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2602, allocations: 272.7 kB / 431.6 MB, free: 38.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.2603, allocations: 43.23 kB / 431.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.2603, allocations: 177.3 kB / 431.8 MB, free: 38.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.2604, allocations: 184 kB / 432 MB, free: 38.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.2605, allocations: 13.28 kB / 432 MB, free: 38.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2605, allocations: 346.5 kB / 432.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.2609, allocations: 322.3 kB / 432.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.2614, allocations: 378.2 kB / 433 MB, free: 38.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2618, allocations: 360.4 kB / 433.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2618, allocations: 0 / 433.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002727/0.2646, allocations: 1.337 MB / 434.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2646, allocations: 7.312 kB / 434.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2646, allocations: 1.188 kB / 434.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.2674, allocations: 0.7923 MB / 435.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.2678, allocations: 104.5 kB / 435.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.2729, allocations: 3.825 MB / 439.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.2733, allocations: 64 kB / 439.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.2733, allocations: 31.34 kB / 439.5 MB, free: 34.74 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 (61): * Single equations (assignments): 60 * 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 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.2735, allocations: 165.3 kB / 439.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.2736, allocations: 35.53 kB / 439.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.2764, allocations: 1.316 MB / 441 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2764, allocations: 6.375 kB / 441 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2764, allocations: 4 kB / 441 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2764, allocations: 3.422 kB / 441 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.2796, allocations: 1.978 MB / 443 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2797, allocations: 3.125 kB / 443 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.2799, allocations: 77.55 kB / 443.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.2826, allocations: 0.7604 MB / 443.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.2827, allocations: 14.58 kB / 443.9 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004876/0.2876, allocations: 3.767 MB / 447.6 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2876, allocations: 0 / 447.6 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.2903, allocations: 1.309 MB / 448.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.2903, allocations: 124.9 kB / 449.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.2904, allocations: 7.188 kB / 449.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.2907, allocations: 32.09 kB / 449.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.2908, allocations: 43.66 kB / 449.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.2909, allocations: 16.62 kB / 449.2 MB, free: 29.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.291, allocations: 188.3 kB / 449.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.291, allocations: 0 / 449.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.2916, allocations: 199.5 kB / 449.5 MB, free: 29.46 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 (45): * Single equations (assignments): 44 * 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 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002824/0.2944, allocations: 1.869 MB / 451.4 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.2964, allocations: 1.107 MB / 452.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2964, allocations: 0 / 452.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.2977, allocations: 0.7142 MB / 453.2 MB, free: 27.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2981, allocations: 42.28 kB / 453.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.303, allocations: 3.355 MB / 456.6 MB, free: 25.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3032, allocations: 0.8162 MB / 457.4 MB, free: 25.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.3034, allocations: 62.64 kB / 457.5 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3036, allocations: 148.4 kB / 457.6 MB, free: 24.96 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3036, allocations: 0 / 457.6 MB, free: 24.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3298, allocations: 14.52 MB / 472.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.33, allocations: 247 kB / 472.4 MB, free: 22.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.097, allocations: 0 / 472.4 MB, free: 22.69 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1) Environment - environmentSimulation: