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.001153/0.001154, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.328/1.328, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001604/0.001604, allocations: 116.2 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1613/0.1613, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08724, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.3792, allocations: 93.88 MB / 0.5381 GB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.3795, allocations: 89.95 kB / 0.5382 GB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02775/0.4072, allocations: 10.9 MB / 0.5488 GB, free: 7.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4073, allocations: 0 / 0.5488 GB, free: 7.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.4073, allocations: 16.19 kB / 0.5488 GB, free: 7.891 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001219/0.4085, allocations: 0.7546 MB / 0.5496 GB, free: 7.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4086, allocations: 12.02 kB / 0.5496 GB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.4087, allocations: 83.14 kB / 0.5496 GB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.4088, allocations: 51.34 kB / 0.5497 GB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.4117, allocations: 1.195 MB / 0.5509 GB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4118, allocations: 27.25 kB / 0.5509 GB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.4118, allocations: 46.73 kB / 0.5509 GB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.4125, allocations: 0.4948 MB / 0.5514 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4125, allocations: 0 / 0.5514 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.4126, allocations: 21.8 kB / 0.5514 GB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.4126, allocations: 19.81 kB / 0.5515 GB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.4131, allocations: 358.6 kB / 0.5518 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.4154, allocations: 2.088 MB / 0.5538 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.4158, allocations: 242.7 kB / 0.5541 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4159, allocations: 192 / 0.5541 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4159, allocations: 45.8 kB / 0.5541 GB, free: 3.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 4.498e-06/0.4159, allocations: 0 / 0.5541 GB, free: 3.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001402/0.4173, allocations: 0.9494 MB / 0.555 GB, free: 2.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4174, allocations: 89 kB / 0.5551 GB, free: 2.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.4177, allocations: 337.4 kB / 0.5554 GB, free: 1.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4177, allocations: 29.52 kB / 0.5555 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4179, allocations: 286.5 kB / 0.5557 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.418, allocations: 82.52 kB / 0.5558 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.418, allocations: 10.44 kB / 0.5558 GB, free: 1.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4181, allocations: 352.1 kB / 0.5562 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4183, allocations: 87.39 kB / 0.5563 GB, free: 1.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4185, allocations: 270.6 kB / 0.5565 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.4187, allocations: 139 kB / 0.5566 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4187, allocations: 0 / 0.5566 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006335/0.4193, allocations: 470.8 kB / 0.5571 GB, free: 236 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4194, allocations: 8 kB / 0.5571 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4194, allocations: 4 kB / 0.5571 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.4196, allocations: 63.33 kB / 0.5572 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.4198, allocations: 79.34 kB / 0.5572 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.4213, allocations: 1.61 MB / 0.5588 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4215, allocations: 30.02 kB / 0.5588 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4215, allocations: 19.19 kB / 0.5589 GB, free: 14.48 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.4218, allocations: 215.9 kB / 0.5591 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.4218, allocations: 36.34 kB / 0.5591 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.4223, allocations: 336.7 kB / 0.5594 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4223, allocations: 4 kB / 0.5594 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4223, allocations: 0 / 0.5594 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4224, allocations: 7.984 kB / 0.5594 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.4234, allocations: 0.7764 MB / 0.5602 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4234, allocations: 3.938 kB / 0.5602 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4236, allocations: 43.97 kB / 0.5602 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.4237, allocations: 20.34 kB / 0.5603 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4237, allocations: 19.05 kB / 0.5603 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009433/0.4247, allocations: 1.376 MB / 0.5616 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4247, allocations: 4.062 kB / 0.5616 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.4253, allocations: 0.5433 MB / 0.5622 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4254, allocations: 124.4 kB / 0.5623 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.4255, allocations: 11.61 kB / 0.5623 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4256, allocations: 7.625 kB / 0.5623 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.4256, allocations: 15.94 kB / 0.5623 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.4257, allocations: 7.625 kB / 0.5623 GB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002591/0.4259, allocations: 254.8 kB / 0.5626 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4259, allocations: 0 / 0.5626 GB, free: 10.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.4265, allocations: 102.9 kB / 0.5627 GB, free: 10.75 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.4275, allocations: 1.275 MB / 0.5639 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.4282, allocations: 384.6 kB / 0.5643 GB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4282, allocations: 4 kB / 0.5643 GB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4284, allocations: 213.7 kB / 0.5645 GB, free: 9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.4289, allocations: 87.08 kB / 0.5646 GB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.4339, allocations: 6.68 MB / 0.5711 GB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4344, allocations: 0.873 MB / 0.5719 GB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.4347, allocations: 80.14 kB / 0.572 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4348, allocations: 154.6 kB / 0.5722 GB, free: 1.402 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4348, allocations: 0 / 0.5722 GB, free: 1.402 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.4556, allocations: 7.85 MB / 0.5798 GB, free: 9.574 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.4558, allocations: 215.1 kB / 0.58 GB, free: 9.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.528, allocations: 3.938 kB / 0.58 GB, free: 9.316 MB / 394.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)