Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 86.67 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4274/0.4274, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.336e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2792, allocations: 69.35 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3946, allocations: 109.6 MB / 0.655 GB, free: 6.793 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.3948, allocations: 75.95 kB / 0.6551 GB, free: 6.719 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3721/0.767, allocations: 46.02 MB / 0.7 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.767, allocations: 0 / 0.7 GB, free: 106.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001181/0.7671, allocations: 39.67 kB / 0.7 GB, free: 106.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004271/0.7714, allocations: 2.038 MB / 0.702 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.7715, allocations: 11.72 kB / 0.702 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.7734, allocations: 450.5 kB / 0.7025 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.7753, allocations: 1.303 MB / 0.7037 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.7757, allocations: 384.4 kB / 0.7041 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.7759, allocations: 120.9 kB / 0.7042 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.7779, allocations: 1.351 MB / 0.7055 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.778, allocations: 10.16 kB / 0.7056 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.7781, allocations: 46.19 kB / 0.7056 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.7781, allocations: 29.38 kB / 0.7056 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.7799, allocations: 1.233 MB / 0.7068 GB, free: 102.7 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.008552/0.7885, allocations: 5.947 MB / 0.7126 GB, free: 97.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.8023, allocations: 4.591 MB / 0.7171 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.8035, allocations: 0.6776 MB / 0.7178 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.8036, allocations: 26.02 kB / 0.7178 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.8036, allocations: 51.5 kB / 0.7179 GB, free: 91.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.256e-06/0.8036, allocations: 0 / 0.7179 GB, free: 91.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01021/0.8139, allocations: 5.207 MB / 0.7229 GB, free: 86.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.8139, allocations: 218.6 kB / 0.7231 GB, free: 86.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.8157, allocations: 1.405 MB / 0.7245 GB, free: 84.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.8158, allocations: 49.7 kB / 0.7246 GB, free: 84.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.8162, allocations: 0.7247 MB / 0.7253 GB, free: 84.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.8166, allocations: 451.5 kB / 0.7257 GB, free: 83.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.8167, allocations: 32 kB / 0.7257 GB, free: 83.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.8167, allocations: 365.9 kB / 0.7261 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.8177, allocations: 0.6671 MB / 0.7267 GB, free: 82.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.8188, allocations: 0.8619 MB / 0.7276 GB, free: 81.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.8198, allocations: 0.7807 MB / 0.7283 GB, free: 80.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8198, allocations: 0 / 0.7283 GB, free: 80.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004391/0.8242, allocations: 2.677 MB / 0.731 GB, free: 78.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.8244, allocations: 1.039 MB / 0.732 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8245, allocations: 4 kB / 0.732 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005579/0.83, allocations: 1.862 MB / 0.7338 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.831, allocations: 191.7 kB / 0.734 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.8353, allocations: 3 MB / 0.7369 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.8375, allocations: 231.8 kB / 0.7371 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.8376, allocations: 51.98 kB / 0.7372 GB, free: 71.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.8377, allocations: 4 kB / 0.7372 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004092/0.8418, allocations: 2.447 MB / 0.7396 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8418, allocations: 3.984 kB / 0.7396 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.847, allocations: 1.836 MB / 0.7414 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.8478, allocations: 199.7 kB / 0.7416 GB, free: 67.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.8534, allocations: 4.303 MB / 0.7458 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8556, allocations: 215.8 kB / 0.746 GB, free: 62.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.8558, allocations: 51.98 kB / 0.746 GB, free: 62.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.8561, allocations: 174.2 kB / 0.7462 GB, free: 62.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.8564, allocations: 177.8 kB / 0.7463 GB, free: 62.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/0.8637, allocations: 2.985 MB / 0.7493 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.8637, allocations: 16 kB / 0.7493 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8637, allocations: 4.219 kB / 0.7493 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.8637, allocations: 7.938 kB / 0.7493 GB, free: 59.04 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.01026/0.874, allocations: 5.356 MB / 0.7545 GB, free: 53.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.874, allocations: 0 / 0.7545 GB, free: 53.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/0.8769, allocations: 0.4995 MB / 0.755 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.8798, allocations: 1.008 MB / 0.756 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.88, allocations: 31.98 kB / 0.756 GB, free: 52.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.8893, allocations: 8.815 MB / 0.7646 GB, free: 42.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8894, allocations: 160 / 0.7646 GB, free: 42.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008188/0.8976, allocations: 3.979 MB / 0.7685 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.8981, allocations: 286.8 kB / 0.7688 GB, free: 38.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.8984, allocations: 31.98 kB / 0.7688 GB, free: 38.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.9001, allocations: 215.8 kB / 0.769 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.9006, allocations: 212.6 kB / 0.7692 GB, free: 37.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.9007, allocations: 28 kB / 0.7693 GB, free: 37.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001357/0.9021, allocations: 1.072 MB / 0.7703 GB, free: 36.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9021, allocations: 0 / 0.7703 GB, free: 36.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001777/0.9039, allocations: 0.6523 MB / 0.7709 GB, free: 36.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/0.9042, allocations: 202.9 kB / 0.7711 GB, free: 36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.9143, allocations: 4.58 MB / 0.7756 GB, free: 31.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9144, allocations: 0 / 0.7756 GB, free: 31.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.919, allocations: 2.051 MB / 0.7776 GB, free: 29.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.9202, allocations: 189.5 kB / 0.7778 GB, free: 28.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.925, allocations: 2.863 MB / 0.7806 GB, free: 26.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.9256, allocations: 1.383 MB / 0.7819 GB, free: 24.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00129/0.9269, allocations: 327.1 kB / 0.7822 GB, free: 24.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.9272, allocations: 71.42 kB / 0.7823 GB, free: 24.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9272, allocations: 0 / 0.7823 GB, free: 24.27 MB / 490.7 MB Notification: Performance of Templates: time 0.04354/0.9708, allocations: 34.56 MB / 0.8161 GB, free: 5.816 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)