Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002115/0.002115, allocations: 179.4 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.747/1.747, allocations: 194.3 MB / 203.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001744/0.001744, allocations: 125.8 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1804/0.1804, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.013e-05, allocations: 3.938 kB / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2817, allocations: 53.22 MB / 443.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4084, allocations: 93.11 MB / 0.5242 GB, free: 4.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4088, allocations: 87.95 kB / 0.5243 GB, free: 4.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2678/0.6765, allocations: 10.77 MB / 0.5348 GB, free: 89.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6766, allocations: 4.594 kB / 0.5348 GB, free: 89.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.6766, allocations: 13.25 kB / 0.5348 GB, free: 89.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001249/0.6779, allocations: 0.6926 MB / 0.5355 GB, free: 89.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.678, allocations: 13.5 kB / 0.5355 GB, free: 89.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.6781, allocations: 52.81 kB / 0.5356 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.6812, allocations: 1.179 MB / 0.5367 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.6813, allocations: 11.91 kB / 0.5367 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.6813, allocations: 22.7 kB / 0.5368 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006283/0.682, allocations: 332.9 kB / 0.5371 GB, free: 88.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.6826, allocations: 440.7 kB / 0.5375 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6826, allocations: 3.938 kB / 0.5375 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.6826, allocations: 3.812 kB / 0.5375 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.6827, allocations: 19.27 kB / 0.5375 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.6847, allocations: 2.009 MB / 0.5395 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.685, allocations: 220 kB / 0.5397 GB, free: 86.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6852, allocations: 128.6 kB / 0.5398 GB, free: 86.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6853, allocations: 8.031 kB / 0.5398 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.6853, allocations: 30.75 kB / 0.5399 GB, free: 86.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.6853, allocations: 3.906 kB / 0.5399 GB, free: 86.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009074/0.6862, allocations: 0.6545 MB / 0.5405 GB, free: 86.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6863, allocations: 92.92 kB / 0.5406 GB, free: 86.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.6865, allocations: 307.8 kB / 0.5409 GB, free: 85.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6865, allocations: 25.7 kB / 0.5409 GB, free: 85.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6867, allocations: 288 kB / 0.5412 GB, free: 85.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.6867, allocations: 79.62 kB / 0.5413 GB, free: 85.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.6867, allocations: 0 / 0.5413 GB, free: 85.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.6868, allocations: 348.9 kB / 0.5416 GB, free: 85.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.6869, allocations: 75.58 kB / 0.5417 GB, free: 85.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.6871, allocations: 264.5 kB / 0.5419 GB, free: 84.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6873, allocations: 114.7 kB / 0.542 GB, free: 84.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6873, allocations: 7.734 kB / 0.542 GB, free: 84.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005479/0.6878, allocations: 387.5 kB / 0.5424 GB, free: 84.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6879, allocations: 11.62 kB / 0.5424 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6879, allocations: 5.344 kB / 0.5424 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.6881, allocations: 55.64 kB / 0.5425 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.6883, allocations: 83.73 kB / 0.5425 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009752/0.6893, allocations: 1.433 MB / 0.5439 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.6895, allocations: 8.719 kB / 0.544 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.6896, allocations: 20.22 kB / 0.544 GB, free: 83.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/0.6897, allocations: 127.4 kB / 0.5441 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002479/0.6899, allocations: 206.7 kB / 0.5443 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.69, allocations: 42.64 kB / 0.5443 GB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.6902, allocations: 210.5 kB / 0.5445 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6903, allocations: 3.844 kB / 0.5445 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.6903, allocations: 0 / 0.5445 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6903, allocations: 0 / 0.5445 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.6909, allocations: 0.5991 MB / 0.5451 GB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6909, allocations: 4.062 kB / 0.5451 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6911, allocations: 54.48 kB / 0.5452 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6911, allocations: 3.719 kB / 0.5452 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.6912, allocations: 0 / 0.5452 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6912, allocations: 3.875 kB / 0.5452 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6912, allocations: 3.984 kB / 0.5452 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.6916, allocations: 444.3 kB / 0.5456 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.6917, allocations: 123.7 kB / 0.5457 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.6917, allocations: 0 / 0.5457 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6918, allocations: 7.422 kB / 0.5457 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.6919, allocations: 11.73 kB / 0.5457 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.6919, allocations: 7.938 kB / 0.5458 GB, free: 82.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.6921, allocations: 235.9 kB / 0.546 GB, free: 82.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6921, allocations: 0 / 0.546 GB, free: 82.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.6926, allocations: 85.56 kB / 0.5461 GB, free: 82.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006709/0.6932, allocations: 1.139 MB / 0.5472 GB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.6938, allocations: 350.2 kB / 0.5475 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6938, allocations: 0 / 0.5475 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.6939, allocations: 87.84 kB / 0.5476 GB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.6944, allocations: 88.64 kB / 0.5477 GB, free: 80.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6956, allocations: 0.6815 MB / 0.5483 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.696, allocations: 0.874 MB / 0.5492 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.6962, allocations: 80.11 kB / 0.5493 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6964, allocations: 147.4 kB / 0.5494 GB, free: 78.63 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6964, allocations: 0 / 0.5494 GB, free: 78.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.7304, allocations: 6.799 MB / 0.5561 GB, free: 71.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.7308, allocations: 141.2 kB / 0.5562 GB, free: 71.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.919, allocations: 4 kB / 0.5562 GB, free: 71.64 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)