Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.000901/0.0009011, allocations: 96.44 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.0009054/0.0009055, allocations: 173.3 kB / 16.61 MB, free: 6.891 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.266/1.266, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1333/0.1333, allocations: 8.079 MB / 299.7 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08298, allocations: 52.51 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001383/0.08439, allocations: 1.13 MB / 416.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.08598, allocations: 1.458 MB / 418 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.08605, allocations: 4 kB / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.08629, allocations: 95.52 kB / 418 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.08655, allocations: 127.6 kB / 418.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.08807, allocations: 0.942 MB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.08832, allocations: 175.6 kB / 419.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.08845, allocations: 68.08 kB / 419.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.08853, allocations: 83.7 kB / 419.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.0887, allocations: 107.6 kB / 419.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.08874, allocations: 12 kB / 419.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.08906, allocations: 215.7 kB / 419.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.08911, allocations: 39.83 kB / 419.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.08916, allocations: 65.58 kB / 419.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.08947, allocations: 287.5 kB / 420.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.08948, allocations: 4 kB / 420.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08949, allocations: 0 / 420.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.0895, allocations: 0 / 420.2 MB, free: 3.852 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.002795/0.0923, allocations: 0.885 MB / 421 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.09234, allocations: 8.031 kB / 421 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.09241, allocations: 54.5 kB / 421.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.09247, allocations: 23.72 kB / 421.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.09275, allocations: 250.7 kB / 421.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.09278, allocations: 16.33 kB / 421.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.09282, allocations: 16 kB / 421.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.09324, allocations: 285.5 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.09325, allocations: 7.938 kB / 421.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.0933, allocations: 8 kB / 421.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.09331, allocations: 7.953 kB / 421.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.09366, allocations: 251.8 kB / 421.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.0951, allocations: 1.149 MB / 423.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.09566, allocations: 306.5 kB / 423.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.09572, allocations: 7.984 kB / 423.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.09576, allocations: 42.55 kB / 423.4 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/0.09576, allocations: 0 / 423.4 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.1502/0.246, allocations: 0.9473 MB / 424.4 MB, free: 41.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2461, allocations: 82.58 kB / 424.5 MB, free: 41.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2462, allocations: 206 kB / 424.7 MB, free: 40.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2463, allocations: 32.64 kB / 424.7 MB, free: 40.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.2463, allocations: 136 kB / 424.8 MB, free: 40.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.2464, allocations: 83.62 kB / 424.9 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2464, allocations: 8.406 kB / 424.9 MB, free: 40.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.2465, allocations: 326.9 kB / 425.2 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2467, allocations: 162 kB / 425.4 MB, free: 40.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2469, allocations: 192.3 kB / 425.6 MB, free: 40.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2471, allocations: 182.4 kB / 425.8 MB, free: 40.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2471, allocations: 0 / 425.8 MB, free: 40.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001541/0.2487, allocations: 0.6861 MB / 426.5 MB, free: 40.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2487, allocations: 6.688 kB / 426.5 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2487, allocations: 0 / 426.5 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.2504, allocations: 381.5 kB / 426.8 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2506, allocations: 46.44 kB / 426.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.2541, allocations: 2.593 MB / 429.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.2543, allocations: 30.41 kB / 429.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.2544, allocations: 15.62 kB / 429.5 MB, free: 39.07 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 (31): * Single equations (assignments): 30 * 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 {6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.2545, allocations: 141.1 kB / 429.7 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.2545, allocations: 21.62 kB / 429.7 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.2561, allocations: 0.6517 MB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2561, allocations: 3.188 kB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2561, allocations: 0 / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2561, allocations: 2.578 kB / 430.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.2565, allocations: 388.2 kB / 430.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2565, allocations: 3.719 kB / 430.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2566, allocations: 37.81 kB / 430.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.2582, allocations: 372.4 kB / 431.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2582, allocations: 6.312 kB / 431.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.2615, allocations: 2.566 MB / 433.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2615, allocations: 3.281 kB / 433.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.263, allocations: 0.7007 MB / 434.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.263, allocations: 103.1 kB / 434.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2631, allocations: 7.125 kB / 434.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2633, allocations: 19.61 kB / 434.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2634, allocations: 28.97 kB / 434.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.2634, allocations: 14.44 kB / 434.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.2635, allocations: 150 kB / 434.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2635, allocations: 0 / 434.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.2639, allocations: 96.89 kB / 434.8 MB, free: 36.83 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 {6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.2655, allocations: 1.262 MB / 436.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2668, allocations: 0.629 MB / 436.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2669, allocations: 3 kB / 436.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009765/0.2678, allocations: 441.9 kB / 437.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2681, allocations: 22.11 kB / 437.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.2689, allocations: 0.8058 MB / 438 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2691, allocations: 0.7606 MB / 438.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.2692, allocations: 33.91 kB / 438.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.2693, allocations: 66.64 kB / 438.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2693, allocations: 3.188 kB / 438.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.2861, allocations: 7.851 MB / 446.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.2863, allocations: 207.7 kB / 446.9 MB, free: 33.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.93, allocations: 4.703 kB / 446.9 MB, free: 33.24 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) Environment - environmentSimulation: