Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000904/0.0009041, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.5 MB / 230 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008915, allocations: 99.88 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0484/0.0484, allocations: 8.095 MB / 339.7 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.044e-05, allocations: 2.094 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 52.52 MB / 451.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.2821, allocations: 79.98 MB / 0.5186 GB, free: 5.305 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.2824, allocations: 55.98 kB / 0.5187 GB, free: 5.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3448/0.6273, allocations: 12.34 MB / 0.5307 GB, free: 78.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6273, allocations: 0 / 0.5307 GB, free: 78.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.6273, allocations: 5.312 kB / 0.5307 GB, free: 78.47 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003585/0.6309, allocations: 0.8641 MB / 0.5316 GB, free: 78.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.631, allocations: 13.02 kB / 0.5316 GB, free: 78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.6312, allocations: 53.22 kB / 0.5316 GB, free: 77.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.6318, allocations: 330.7 kB / 0.5319 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.6318, allocations: 8.719 kB / 0.532 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.6319, allocations: 15.53 kB / 0.532 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009225/0.6328, allocations: 397.9 kB / 0.5323 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.6338, allocations: 436.6 kB / 0.5328 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6338, allocations: 1.188 kB / 0.5328 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.6339, allocations: 4 kB / 0.5328 GB, free: 77.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6339, allocations: 6.5 kB / 0.5328 GB, free: 77.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.6374, allocations: 2.065 MB / 0.5348 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.6386, allocations: 499 kB / 0.5353 GB, free: 76.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.6391, allocations: 259.2 kB / 0.5355 GB, free: 76.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.6393, allocations: 99.38 kB / 0.5356 GB, free: 76.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6393, allocations: 36.41 kB / 0.5356 GB, free: 76.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.965e-06/0.6393, allocations: 0 / 0.5356 GB, free: 76.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.005036/0.6444, allocations: 1.072 MB / 0.5367 GB, free: 76.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.6445, allocations: 107.2 kB / 0.5368 GB, free: 76.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.6449, allocations: 235.7 kB / 0.537 GB, free: 75.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.645, allocations: 26.39 kB / 0.537 GB, free: 75.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.6451, allocations: 170.9 kB / 0.5372 GB, free: 75.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6453, allocations: 137.3 kB / 0.5373 GB, free: 75.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.6454, allocations: 0.5938 kB / 0.5373 GB, free: 75.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.6455, allocations: 346 kB / 0.5377 GB, free: 75.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.646, allocations: 228.1 kB / 0.5379 GB, free: 75.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.6465, allocations: 262.8 kB / 0.5381 GB, free: 75.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.6476, allocations: 272.7 kB / 0.5384 GB, free: 75.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6476, allocations: 3 kB / 0.5384 GB, free: 75.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.004674/0.6523, allocations: 1.108 MB / 0.5395 GB, free: 74.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6523, allocations: 3.719 kB / 0.5395 GB, free: 74.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6524, allocations: 0 / 0.5395 GB, free: 74.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/0.6568, allocations: 0.6852 MB / 0.5402 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.6572, allocations: 65.44 kB / 0.5402 GB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007959/0.6652, allocations: 3.649 MB / 0.5438 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.6659, allocations: 27.09 kB / 0.5438 GB, free: 72.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.666, allocations: 20.14 kB / 0.5438 GB, free: 72.08 MB / 362.7 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 () * 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 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.6662, allocations: 108.8 kB / 0.5439 GB, free: 71.97 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004542/0.6707, allocations: 1.063 MB / 0.545 GB, free: 71.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.6709, allocations: 35.62 kB / 0.545 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.6757, allocations: 1.187 MB / 0.5462 GB, free: 69.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6757, allocations: 8 kB / 0.5462 GB, free: 69.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6757, allocations: 0 / 0.5462 GB, free: 69.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.6757, allocations: 0 / 0.5462 GB, free: 69.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.6767, allocations: 0.5906 MB / 0.5467 GB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6767, allocations: 4 kB / 0.5467 GB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.6771, allocations: 67.83 kB / 0.5468 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004584/0.6817, allocations: 0.6813 MB / 0.5475 GB, free: 68.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.6818, allocations: 8 kB / 0.5475 GB, free: 68.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008381/0.6902, allocations: 3.646 MB / 0.551 GB, free: 64.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6902, allocations: 4 kB / 0.5511 GB, free: 64.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.6943, allocations: 1.207 MB / 0.5522 GB, free: 63.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.6945, allocations: 116.6 kB / 0.5523 GB, free: 63.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.6946, allocations: 0 / 0.5523 GB, free: 63.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.6951, allocations: 15.98 kB / 0.5524 GB, free: 63.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6952, allocations: 48.33 kB / 0.5524 GB, free: 63.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.6953, allocations: 15.92 kB / 0.5524 GB, free: 63.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.6955, allocations: 190 kB / 0.5526 GB, free: 63.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6955, allocations: 4 kB / 0.5526 GB, free: 63.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.6963, allocations: 151.9 kB / 0.5527 GB, free: 63 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004176/0.7004, allocations: 1.754 MB / 0.5545 GB, free: 61.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.7028, allocations: 0.8473 MB / 0.5553 GB, free: 60.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7028, allocations: 3.906 kB / 0.5553 GB, free: 60.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.7047, allocations: 0.5972 MB / 0.5559 GB, free: 59.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.7052, allocations: 24.88 kB / 0.5559 GB, free: 59.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.7065, allocations: 0.5056 MB / 0.5564 GB, free: 59.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.7068, allocations: 0.8056 MB / 0.5572 GB, free: 58.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.707, allocations: 51.23 kB / 0.5572 GB, free: 58.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.7071, allocations: 123.4 kB / 0.5573 GB, free: 58.18 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7071, allocations: 0 / 0.5573 GB, free: 58.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.7398, allocations: 12.77 MB / 0.5698 GB, free: 45.46 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.7401, allocations: 147 kB / 0.57 GB, free: 45.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.946, allocations: 0 / 0.57 GB, free: 45.27 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)