Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.0009847/0.0009847, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.226/1.226, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0008133/0.0008133, allocations: 97.8 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4606/0.4606, allocations: 78.13 MB / 409.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.815e-05, allocations: 0 / 485.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 69.35 MB / 0.5414 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.4272, allocations: 98.2 MB / 0.6373 GB, free: 6.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4275, allocations: 83.95 kB / 0.6374 GB, free: 6.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05914/0.4866, allocations: 21.85 MB / 0.6587 GB, free: 368 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4867, allocations: 0 / 0.6587 GB, free: 368 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.316e-05/0.4867, allocations: 16.19 kB / 0.6588 GB, free: 352 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003125/0.4899, allocations: 1.264 MB / 0.66 GB, free: 15.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4899, allocations: 8.031 kB / 0.66 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.4922, allocations: 390.4 kB / 0.6604 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.4934, allocations: 0.6099 MB / 0.661 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.4936, allocations: 130.4 kB / 0.6611 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.4937, allocations: 35.91 kB / 0.6611 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009644/0.4947, allocations: 0.5575 MB / 0.6617 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4957, allocations: 0.6133 MB / 0.6623 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4957, allocations: 0 / 0.6623 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.4958, allocations: 0 / 0.6623 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4958, allocations: 16 kB / 0.6623 GB, free: 12.61 MB / 490.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.004926/0.5007, allocations: 2.771 MB / 0.665 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.515, allocations: 3.705 MB / 0.6686 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.5157, allocations: 378.5 kB / 0.669 GB, free: 5.598 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5159, allocations: 12.56 kB / 0.669 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5159, allocations: 47.12 kB / 0.669 GB, free: 5.527 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.475e-06/0.5159, allocations: 0 / 0.669 GB, free: 5.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005799/0.5217, allocations: 1.897 MB / 0.6709 GB, free: 3.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5218, allocations: 81.67 kB / 0.671 GB, free: 3.516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.5229, allocations: 0.6214 MB / 0.6716 GB, free: 2.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/0.523, allocations: 25.7 kB / 0.6716 GB, free: 2.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.5233, allocations: 384.6 kB / 0.672 GB, free: 2.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.5235, allocations: 224.6 kB / 0.6722 GB, free: 2.254 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.5236, allocations: 0 / 0.6722 GB, free: 2.254 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5237, allocations: 329.9 kB / 0.6725 GB, free: 1.926 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.5242, allocations: 329.6 kB / 0.6728 GB, free: 1.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.5248, allocations: 413.9 kB / 0.6732 GB, free: 1.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.5254, allocations: 362 kB / 0.6735 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5254, allocations: 0 / 0.6735 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.2941/0.8195, allocations: 2.112 MB / 0.6756 GB, free: 109.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.8197, allocations: 0.6162 MB / 0.6762 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.8198, allocations: 4.719 kB / 0.6762 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/0.8257, allocations: 1.003 MB / 0.6772 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.8265, allocations: 109 kB / 0.6773 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/0.8354, allocations: 4.301 MB / 0.6815 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.8366, allocations: 110.1 kB / 0.6816 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.8367, allocations: 21.81 kB / 0.6816 GB, free: 107.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8368, allocations: 6.406 kB / 0.6816 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006247/0.843, allocations: 1.998 MB / 0.6836 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.843, allocations: 5 kB / 0.6836 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.847, allocations: 1.001 MB / 0.6846 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.8479, allocations: 104.5 kB / 0.6847 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.8562, allocations: 4.301 MB / 0.6889 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.8575, allocations: 94.45 kB / 0.6889 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.8576, allocations: 25.47 kB / 0.689 GB, free: 105.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.858, allocations: 117 kB / 0.6891 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00521/0.8632, allocations: 1.901 MB / 0.6909 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.8634, allocations: 88.34 kB / 0.691 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.8685, allocations: 1.962 MB / 0.6929 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.8685, allocations: 14.14 kB / 0.6929 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8685, allocations: 3.812 kB / 0.693 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.8686, allocations: 3.938 kB / 0.693 GB, free: 104.3 MB / 490.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.006512/0.8751, allocations: 3.189 MB / 0.6961 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8751, allocations: 0 / 0.6961 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.8756, allocations: 86.8 kB / 0.6962 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.8782, allocations: 0.8387 MB / 0.697 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.8783, allocations: 7.094 kB / 0.697 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.8831, allocations: 3.285 MB / 0.7002 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8832, allocations: 4.406 kB / 0.7002 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.8887, allocations: 2.528 MB / 0.7027 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.8889, allocations: 182.9 kB / 0.7028 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.8891, allocations: 11.47 kB / 0.7028 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/0.8899, allocations: 69.84 kB / 0.7029 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.8902, allocations: 121.8 kB / 0.703 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.8903, allocations: 23.08 kB / 0.7031 GB, free: 99.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.8908, allocations: 486.7 kB / 0.7035 GB, free: 99.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8908, allocations: 3.281 kB / 0.7035 GB, free: 99.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001379/0.8922, allocations: 450.7 kB / 0.7039 GB, free: 99.32 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * 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): 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/0.8979, allocations: 3.251 MB / 0.7071 GB, free: 97.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00587/0.9038, allocations: 2.711 MB / 0.7098 GB, free: 95.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9039, allocations: 7.938 kB / 0.7098 GB, free: 95.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.9063, allocations: 1.097 MB / 0.7108 GB, free: 94.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.9072, allocations: 51.06 kB / 0.7109 GB, free: 94.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.9108, allocations: 1.583 MB / 0.7124 GB, free: 93.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.9113, allocations: 0.9952 MB / 0.7134 GB, free: 92.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007266/0.912, allocations: 116.5 kB / 0.7135 GB, free: 92.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.9124, allocations: 294.4 kB / 0.7138 GB, free: 92.14 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.9124, allocations: 0 / 0.7138 GB, free: 92.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.9577, allocations: 25.29 MB / 0.7385 GB, free: 68.63 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.9579, allocations: 160.6 kB / 0.7387 GB, free: 68.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/3.751, allocations: 0 / 0.7387 GB, free: 68.43 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)