Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 83.3 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08899/0.08899, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2835/0.2835, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.21e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1633, allocations: 69.24 MB / 0.5819 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.555/0.7184, allocations: 100.2 MB / 0.6797 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.7187, allocations: 80.77 kB / 0.6798 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05592/0.7746, allocations: 22.04 MB / 0.7013 GB, free: 6.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.7747, allocations: 0 / 0.7013 GB, free: 6.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.249e-05/0.7747, allocations: 16 kB / 0.7013 GB, free: 6.148 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003324/0.778, allocations: 1.323 MB / 0.7026 GB, free: 4.859 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7781, allocations: 12.03 kB / 0.7026 GB, free: 4.848 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.7803, allocations: 392 kB / 0.703 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.7814, allocations: 0.6468 MB / 0.7036 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.7816, allocations: 193.8 kB / 0.7038 GB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.7817, allocations: 43.61 kB / 0.7039 GB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009846/0.7827, allocations: 0.5806 MB / 0.7044 GB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7838, allocations: 0.6484 MB / 0.7051 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.7838, allocations: 0 / 0.7051 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.7839, allocations: 7.938 kB / 0.7051 GB, free: 2.902 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.7839, allocations: 15.94 kB / 0.7051 GB, free: 2.887 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.7888, allocations: 3.041 MB / 0.708 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.8016, allocations: 3.718 MB / 0.7117 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.8022, allocations: 391.2 kB / 0.712 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.605e-05/0.8023, allocations: 12.55 kB / 0.7121 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.8024, allocations: 41.06 kB / 0.7121 GB, free: 12.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.166e-06/0.8024, allocations: 0 / 0.7121 GB, free: 12.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.005442/0.8078, allocations: 1.942 MB / 0.714 GB, free: 11.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.8079, allocations: 85.67 kB / 0.7141 GB, free: 11.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.8088, allocations: 0.6311 MB / 0.7147 GB, free: 10.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.8089, allocations: 25.7 kB / 0.7147 GB, free: 10.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.8092, allocations: 406 kB / 0.7151 GB, free: 10.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.8094, allocations: 240.1 kB / 0.7153 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.8095, allocations: 0 / 0.7153 GB, free: 10.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8097, allocations: 340.7 kB / 0.7157 GB, free: 9.871 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.8101, allocations: 330.1 kB / 0.716 GB, free: 9.707 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.8107, allocations: 433.1 kB / 0.7164 GB, free: 9.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.8113, allocations: 382 kB / 0.7168 GB, free: 9.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8113, allocations: 0 / 0.7168 GB, free: 9.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006051/0.8174, allocations: 2.175 MB / 0.7189 GB, free: 7.441 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003503/0.8177, allocations: 0.7033 MB / 0.7196 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8178, allocations: 0 / 0.7196 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.8216, allocations: 1.051 MB / 0.7206 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.8222, allocations: 107.5 kB / 0.7207 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008507/0.8307, allocations: 4.586 MB / 0.7252 GB, free: 2.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.8318, allocations: 111.3 kB / 0.7253 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.8319, allocations: 31.3 kB / 0.7253 GB, free: 2.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8319, allocations: 4 kB / 0.7253 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005959/0.8379, allocations: 2.04 MB / 0.7273 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8379, allocations: 4 kB / 0.7273 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.8418, allocations: 1.047 MB / 0.7283 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.8423, allocations: 103.4 kB / 0.7284 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008183/0.8505, allocations: 4.564 MB / 0.7329 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.8515, allocations: 99.38 kB / 0.733 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.8516, allocations: 27.17 kB / 0.733 GB, free: 12.06 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003511/0.852, allocations: 129.2 kB / 0.7331 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005376/0.8573, allocations: 1.953 MB / 0.735 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.8575, allocations: 86.97 kB / 0.7351 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.8629, allocations: 2.022 MB / 0.7371 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.863, allocations: 8 kB / 0.7371 GB, free: 8.074 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.863, allocations: 7.953 kB / 0.7371 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.863, allocations: 3.984 kB / 0.7371 GB, free: 8.062 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/0.8701, allocations: 3.296 MB / 0.7403 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.8701, allocations: 4 kB / 0.7403 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.8706, allocations: 79.91 kB / 0.7404 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.8733, allocations: 0.8806 MB / 0.7413 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.8734, allocations: 4 kB / 0.7413 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006187/0.8796, allocations: 3.556 MB / 0.7447 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8796, allocations: 0 / 0.7447 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006155/0.8858, allocations: 2.621 MB / 0.7473 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.8861, allocations: 187.8 kB / 0.7475 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.8862, allocations: 4 kB / 0.7475 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008328/0.8871, allocations: 71.94 kB / 0.7476 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.8874, allocations: 132.3 kB / 0.7477 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.8875, allocations: 16 kB / 0.7477 GB, free: 12.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007802/0.8883, allocations: 491.2 kB / 0.7482 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8883, allocations: 0 / 0.7482 GB, free: 12.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001753/0.8901, allocations: 475.1 kB / 0.7486 GB, free: 12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * 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): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006877/0.8969, allocations: 3.332 MB / 0.7519 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006752/0.9037, allocations: 2.857 MB / 0.7547 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9037, allocations: 8.125 kB / 0.7547 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.9064, allocations: 1.155 MB / 0.7558 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.9071, allocations: 54.39 kB / 0.7559 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.9108, allocations: 1.67 MB / 0.7575 GB, free: 2.652 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.9114, allocations: 1.02 MB / 0.7585 GB, free: 1.605 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.912, allocations: 119.2 kB / 0.7586 GB, free: 1.488 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.9124, allocations: 319.3 kB / 0.7589 GB, free: 1.176 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9124, allocations: 0 / 0.7589 GB, free: 1.176 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/0.9675, allocations: 26.42 MB / 0.7847 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.9678, allocations: 150.3 kB / 0.7848 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.081, allocations: 4 kB / 0.7848 GB, free: 6.598 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)