Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0009317/0.0009319, allocations: 87.14 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08229/0.08229, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3021/0.3021, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.809e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6517, allocations: 100.4 MB / 0.687 GB, free: 15.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.652, allocations: 80.45 kB / 0.6871 GB, free: 15.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0573/0.7094, allocations: 21.46 MB / 0.708 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7094, allocations: 0 / 0.708 GB, free: 13.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.612e-05/0.7095, allocations: 19.94 kB / 0.708 GB, free: 13.68 MB / 458.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.00355/0.713, allocations: 1.273 MB / 0.7093 GB, free: 12.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.7131, allocations: 12.17 kB / 0.7093 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.7133, allocations: 98.33 kB / 0.7094 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.7158, allocations: 387.7 kB / 0.7097 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7169, allocations: 0.6154 MB / 0.7103 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.7171, allocations: 148.4 kB / 0.7105 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7172, allocations: 54.62 kB / 0.7105 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.7184, allocations: 0.6896 MB / 0.7112 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.7185, allocations: 0 / 0.7112 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.7185, allocations: 18.75 kB / 0.7112 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.7186, allocations: 16 kB / 0.7112 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.7195, allocations: 0.5815 MB / 0.7118 GB, free: 10.48 MB / 458.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.004795/0.7243, allocations: 2.889 MB / 0.7146 GB, free: 8.312 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.7371, allocations: 3.712 MB / 0.7183 GB, free: 4.824 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.7381, allocations: 392.4 kB / 0.7186 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.967e-05/0.7382, allocations: 12.25 kB / 0.7186 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.7382, allocations: 46.42 kB / 0.7187 GB, free: 4.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 5.53e-06/0.7382, allocations: 0 / 0.7187 GB, free: 4.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005789/0.744, allocations: 1.94 MB / 0.7206 GB, free: 2.973 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7441, allocations: 93.61 kB / 0.7207 GB, free: 2.863 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.7452, allocations: 0.6649 MB / 0.7213 GB, free: 2.367 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.7453, allocations: 47.45 kB / 0.7214 GB, free: 2.324 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.7456, allocations: 383.9 kB / 0.7217 GB, free: 2.102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.7458, allocations: 224.8 kB / 0.722 GB, free: 1.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.7459, allocations: 13.5 kB / 0.722 GB, free: 1.906 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.746, allocations: 335.5 kB / 0.7223 GB, free: 1.586 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.7465, allocations: 339.2 kB / 0.7226 GB, free: 1.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.7471, allocations: 430.1 kB / 0.723 GB, free: 1.133 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.7477, allocations: 375.4 kB / 0.7234 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7477, allocations: 3.938 kB / 0.7234 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006037/0.7538, allocations: 2.191 MB / 0.7255 GB, free: 15.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.754, allocations: 0.6098 MB / 0.7261 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7541, allocations: 0 / 0.7261 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/0.7579, allocations: 1.018 MB / 0.7271 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.7585, allocations: 111.7 kB / 0.7272 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00842/0.7669, allocations: 4.448 MB / 0.7316 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.768, allocations: 128.5 kB / 0.7317 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.768, allocations: 19.81 kB / 0.7317 GB, free: 10.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7681, allocations: 4 kB / 0.7317 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005876/0.7739, allocations: 2.075 MB / 0.7337 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.774, allocations: 0 / 0.7337 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/0.7778, allocations: 1.015 MB / 0.7347 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.7784, allocations: 107.3 kB / 0.7348 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.787, allocations: 4.458 MB / 0.7392 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7883, allocations: 106 kB / 0.7393 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.7884, allocations: 23.42 kB / 0.7393 GB, free: 3.965 MB / 474.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.0002903/0.7887, allocations: 142.3 kB / 0.7394 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7889, allocations: 82.97 kB / 0.7395 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.7945, allocations: 2.033 MB / 0.7415 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7946, allocations: 8 kB / 0.7415 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.7946, allocations: 4 kB / 0.7415 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7946, allocations: 3.984 kB / 0.7415 GB, free: 2.133 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.007398/0.802, allocations: 3.319 MB / 0.7448 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.802, allocations: 0 / 0.7448 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.8027, allocations: 79.91 kB / 0.7448 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.8055, allocations: 0.8523 MB / 0.7457 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.8056, allocations: 16 kB / 0.7457 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/0.8117, allocations: 3.358 MB / 0.749 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8118, allocations: 4 kB / 0.749 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.8182, allocations: 2.596 MB / 0.7515 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.8187, allocations: 187.9 kB / 0.7517 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.8189, allocations: 15.95 kB / 0.7517 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.8197, allocations: 83.92 kB / 0.7518 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.8201, allocations: 120.3 kB / 0.7519 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.8202, allocations: 16 kB / 0.7519 GB, free: 7.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007382/0.8209, allocations: 0.5226 MB / 0.7524 GB, free: 6.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8209, allocations: 0 / 0.7524 GB, free: 6.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00149/0.8224, allocations: 491.4 kB / 0.7529 GB, free: 6.211 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.006489/0.8289, allocations: 3.317 MB / 0.7561 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006559/0.8355, allocations: 2.799 MB / 0.7589 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8356, allocations: 0 / 0.7589 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.8381, allocations: 1.119 MB / 0.7599 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.8388, allocations: 68.09 kB / 0.76 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.8423, allocations: 1.644 MB / 0.7616 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.8429, allocations: 1.003 MB / 0.7626 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005633/0.8434, allocations: 115 kB / 0.7627 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.8438, allocations: 295.3 kB / 0.763 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.8438, allocations: 0 / 0.763 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.891, allocations: 27.48 MB / 0.7898 GB, free: 220 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.8912, allocations: 198.5 kB / 0.79 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.634, allocations: 3.938 kB / 0.79 GB, free: 15.98 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)