Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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_2.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_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.001061/0.001061, allocations: 180.9 kB / 7.65 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.393/1.393, 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.0009428/0.0009427, allocations: 90.02 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08968/0.08968, allocations: 12.19 MB / 321.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.336/0.336, allocations: 78.07 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.201e-05, allocations: 4.938 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1854, allocations: 69.24 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5434/0.7288, allocations: 101.9 MB / 0.6813 GB, free: 6.742 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.7291, allocations: 83.95 kB / 0.6814 GB, free: 6.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07492/0.8041, allocations: 28.88 MB / 0.7096 GB, free: 14.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.8041, allocations: 0 / 0.7096 GB, free: 14.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.175e-05/0.8042, allocations: 24 kB / 0.7096 GB, free: 14.93 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003552/0.8078, allocations: 1.479 MB / 0.7111 GB, free: 13.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8078, allocations: 8.031 kB / 0.7111 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.81, allocations: 413.7 kB / 0.7115 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.8113, allocations: 0.8752 MB / 0.7123 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.8116, allocations: 227 kB / 0.7125 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.8117, allocations: 47.89 kB / 0.7126 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/0.813, allocations: 0.7514 MB / 0.7133 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.8142, allocations: 0.7562 MB / 0.7141 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.8142, allocations: 3.938 kB / 0.7141 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.8143, allocations: 4 kB / 0.7141 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.8143, allocations: 16 kB / 0.7141 GB, free: 11.17 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.005783/0.8201, allocations: 3.496 MB / 0.7175 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.8334, allocations: 3.975 MB / 0.7214 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/0.8343, allocations: 465.7 kB / 0.7218 GB, free: 4.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.8344, allocations: 16.75 kB / 0.7218 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.8345, allocations: 41.09 kB / 0.7219 GB, free: 4.738 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 3.727e-06/0.8345, allocations: 0 / 0.7219 GB, free: 4.738 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.005776/0.8402, allocations: 2.09 MB / 0.7239 GB, free: 3.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.8403, allocations: 115.6 kB / 0.724 GB, free: 2.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.8417, allocations: 0.8614 MB / 0.7249 GB, free: 2.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.8418, allocations: 25.7 kB / 0.7249 GB, free: 2.289 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.8422, allocations: 489.7 kB / 0.7254 GB, free: 2.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.8425, allocations: 264.8 kB / 0.7256 GB, free: 1.789 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.8425, allocations: 0 / 0.7256 GB, free: 1.789 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8427, allocations: 336.7 kB / 0.7259 GB, free: 1.465 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.8433, allocations: 419.3 kB / 0.7263 GB, free: 1.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.844, allocations: 0.5067 MB / 0.7268 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.8447, allocations: 464.3 kB / 0.7273 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8447, allocations: 4 kB / 0.7273 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006333/0.851, allocations: 2.325 MB / 0.7296 GB, free: 14.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.8513, allocations: 0.6162 MB / 0.7302 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8513, allocations: 7.984 kB / 0.7302 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/0.8552, allocations: 1.002 MB / 0.7311 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.8561, allocations: 154.7 kB / 0.7313 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.8637, allocations: 4.313 MB / 0.7355 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.8652, allocations: 163.1 kB / 0.7357 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.8653, allocations: 31.98 kB / 0.7357 GB, free: 9.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.8653, allocations: 4 kB / 0.7357 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006039/0.8714, allocations: 2.171 MB / 0.7378 GB, free: 7.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8714, allocations: 4 kB / 0.7378 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00369/0.8751, allocations: 0.9977 MB / 0.7388 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.8759, allocations: 147.8 kB / 0.7389 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.8836, allocations: 4.294 MB / 0.7431 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.8851, allocations: 143.2 kB / 0.7433 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.8852, allocations: 31.98 kB / 0.7433 GB, free: 1.801 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0003376/0.8855, allocations: 120.8 kB / 0.7434 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005653/0.8912, allocations: 2.09 MB / 0.7454 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.8916, allocations: 110.6 kB / 0.7456 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.8976, allocations: 2.173 MB / 0.7477 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.8976, allocations: 8 kB / 0.7477 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8977, allocations: 7.938 kB / 0.7477 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.8977, allocations: 7.969 kB / 0.7477 GB, free: 13.24 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.008191/0.9059, allocations: 3.689 MB / 0.7513 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.9059, allocations: 0 / 0.7513 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.9068, allocations: 115.8 kB / 0.7514 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004354/0.9112, allocations: 0.8347 MB / 0.7522 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/0.9117, allocations: 15.98 kB / 0.7522 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006042/0.9178, allocations: 3.28 MB / 0.7554 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9178, allocations: 7.938 kB / 0.7555 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/0.9247, allocations: 2.831 MB / 0.7582 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.9252, allocations: 223.6 kB / 0.7584 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.9254, allocations: 7.984 kB / 0.7584 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9266, allocations: 115.9 kB / 0.7585 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/0.927, allocations: 140.4 kB / 0.7587 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.9271, allocations: 20 kB / 0.7587 GB, free: 1.715 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.9282, allocations: 0.6628 MB / 0.7593 GB, free: 1.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9282, allocations: 0 / 0.7593 GB, free: 1.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001821/0.93, allocations: 0.5069 MB / 0.7598 GB, free: 0.5352 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.007357/0.9374, allocations: 3.482 MB / 0.7632 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00738/0.9448, allocations: 3.012 MB / 0.7662 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.443e-06/0.9448, allocations: 4.375 kB / 0.7662 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.9477, allocations: 1.183 MB / 0.7673 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.949, allocations: 88.28 kB / 0.7674 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.9541, allocations: 2.07 MB / 0.7694 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/0.9549, allocations: 1.115 MB / 0.7705 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001004/0.9559, allocations: 208.7 kB / 0.7707 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.9565, allocations: 399.3 kB / 0.7711 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of SimCode: time 2.064e-06/0.9565, allocations: 0 / 0.7711 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/1.028, allocations: 30.44 MB / 0.8008 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/1.029, allocations: 150 kB / 0.801 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.337, allocations: 3.516 kB / 0.801 GB, free: 6.105 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)