Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.001401/0.001401, allocations: 173.9 kB / 7.647 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.275/1.275, allocations: 221.5 MB / 229.6 MB, free: 7.535 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.000921/0.000921, allocations: 98.23 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5588/0.5588, allocations: 78.13 MB / 409.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.152e-05, allocations: 4 kB / 485 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 69.37 MB / 0.5413 GB, free: 6.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4767, allocations: 108.9 MB / 0.6477 GB, free: 6.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4771, allocations: 83.95 kB / 0.6478 GB, free: 6.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/0.5975, allocations: 45.53 MB / 0.6922 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5976, allocations: 4 kB / 0.6922 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000164/0.5977, allocations: 39.94 kB / 0.6923 GB, free: 9.184 MB / 0.4948 GB 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.005119/0.6029, allocations: 2.043 MB / 0.6943 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6029, allocations: 8.031 kB / 0.6943 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.6049, allocations: 443.8 kB / 0.6947 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.607, allocations: 1.306 MB / 0.696 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.6074, allocations: 341.4 kB / 0.6963 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.6076, allocations: 75.91 kB / 0.6964 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002002/0.6096, allocations: 1.176 MB / 0.6975 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.6116, allocations: 1.202 MB / 0.6987 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.6116, allocations: 0.8438 kB / 0.6987 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.6117, allocations: 0 / 0.6987 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.6117, allocations: 32 kB / 0.6987 GB, free: 2.344 MB / 0.4948 GB 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.009047/0.6208, allocations: 5.738 MB / 0.7043 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.6354, allocations: 4.545 MB / 0.7088 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.6369, allocations: 0.6511 MB / 0.7094 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.6371, allocations: 17.3 kB / 0.7094 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.6371, allocations: 51.88 kB / 0.7095 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 5.71e-06/0.6372, allocations: 0 / 0.7095 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.0114/0.6486, allocations: 5.033 MB / 0.7144 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.6487, allocations: 222.9 kB / 0.7146 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.6506, allocations: 1.262 MB / 0.7158 GB, free: 472 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.6509, allocations: 25.7 kB / 0.7159 GB, free: 440 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.6514, allocations: 0.7337 MB / 0.7166 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.6519, allocations: 441.5 kB / 0.717 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.652, allocations: 0 / 0.717 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6521, allocations: 357.9 kB / 0.7173 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.6531, allocations: 0.6406 MB / 0.718 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6542, allocations: 0.8074 MB / 0.7187 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.6554, allocations: 0.7204 MB / 0.7194 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.6554, allocations: 4 kB / 0.7195 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006552/0.662, allocations: 2.822 MB / 0.7222 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003603/0.6624, allocations: 1.035 MB / 0.7232 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6624, allocations: 0 / 0.7232 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005592/0.668, allocations: 1.739 MB / 0.7249 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.669, allocations: 183.8 kB / 0.7251 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.6742, allocations: 3.14 MB / 0.7282 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.6763, allocations: 203.7 kB / 0.7284 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.6765, allocations: 55.98 kB / 0.7284 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6765, allocations: 4 kB / 0.7284 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005983/0.6825, allocations: 2.554 MB / 0.7309 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6826, allocations: 4 kB / 0.7309 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/0.688, allocations: 1.694 MB / 0.7326 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/0.6889, allocations: 191.7 kB / 0.7327 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.6956, allocations: 4.366 MB / 0.737 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.6979, allocations: 183.8 kB / 0.7372 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.6982, allocations: 51.98 kB / 0.7372 GB, free: 10.13 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real 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 (111): * Single equations (assignments): 106 * 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.0004653/0.6986, allocations: 129.5 kB / 0.7374 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.6992, allocations: 165.9 kB / 0.7375 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/0.7069, allocations: 2.893 MB / 0.7403 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.707, allocations: 12 kB / 0.7404 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.707, allocations: 4 kB / 0.7404 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.707, allocations: 4.203 kB / 0.7404 GB, free: 6.898 MB / 0.5417 GB 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.01184/0.7189, allocations: 5.14 MB / 0.7454 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.7189, allocations: 0 / 0.7454 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/0.7219, allocations: 0.4995 MB / 0.7459 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/0.7252, allocations: 0.9965 MB / 0.7468 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.7254, allocations: 16 kB / 0.7469 GB, free: 152 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.7364, allocations: 8.58 MB / 0.7552 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7364, allocations: 4.031 kB / 0.7552 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009287/0.7457, allocations: 3.86 MB / 0.759 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.7464, allocations: 278.1 kB / 0.7593 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/0.7469, allocations: 12 kB / 0.7593 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/0.749, allocations: 203.8 kB / 0.7595 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.7495, allocations: 204.9 kB / 0.7597 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.7497, allocations: 39.98 kB / 0.7597 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001585/0.7513, allocations: 0.9424 MB / 0.7606 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7513, allocations: 0 / 0.7606 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002484/0.7538, allocations: 0.5663 MB / 0.7612 GB, free: 0.957 MB / 0.5573 GB 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.0003826/0.7541, allocations: 165 kB / 0.7613 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2519/1.006, allocations: 4.434 MB / 0.7657 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.006, allocations: 0 / 0.7657 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/1.011, allocations: 1.989 MB / 0.7676 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.012, allocations: 167 kB / 0.7678 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.017, allocations: 2.807 MB / 0.7705 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.018, allocations: 1.38 MB / 0.7719 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00128/1.019, allocations: 326.7 kB / 0.7722 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/1.019, allocations: 64.61 kB / 0.7722 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/1.02, allocations: 0 / 0.7722 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.04864/1.068, allocations: 30.83 MB / 0.8023 GB, free: 135.1 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)