Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1295/0.1295, allocations: 12.6 MB / 28.91 MB, free: 0.6133 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 107.5 kB / 32.51 MB, free: 3.555 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 188.5 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4819/0.4819, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002988/0.002988, allocations: 150.9 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1515, allocations: 68.12 MB / 0.623 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.006934/0.1585, allocations: 5.291 MB / 0.6282 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.1624, allocations: 1.72 MB / 0.6299 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008931/0.1633, allocations: 8 kB / 0.6299 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.1641, allocations: 166.6 kB / 0.6301 GB, free: 8.184 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003146/0.1673, allocations: 0.6896 MB / 0.6307 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1688, allocations: 0.4941 MB / 0.6312 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.1714, allocations: 1.207 MB / 0.6324 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.1722, allocations: 250.3 kB / 0.6326 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1736, allocations: 494.1 kB / 0.6331 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.1749, allocations: 0.599 MB / 0.6337 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.1755, allocations: 124 kB / 0.6338 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1765, allocations: 247.9 kB / 0.634 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000623/0.1772, allocations: 255.1 kB / 0.6343 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.1784, allocations: 0.509 MB / 0.6348 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1805, allocations: 1.394 MB / 0.6361 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1806, allocations: 0 / 0.6361 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1806, allocations: 0 / 0.6361 GB, free: 1.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.605e-05/0.1806, allocations: 0 / 0.6361 GB, free: 1.926 MB / 446.1 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.007401/0.1881, allocations: 1.854 MB / 0.638 GB, free: 20 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.1881, allocations: 11.98 kB / 0.638 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.1919, allocations: 0.5265 MB / 0.6385 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.1937, allocations: 0.6936 MB / 0.6392 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.1939, allocations: 146.4 kB / 0.6393 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.1942, allocations: 60 kB / 0.6394 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.1961, allocations: 0.7876 MB / 0.6401 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1961, allocations: 0 / 0.6401 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.1962, allocations: 24 kB / 0.6401 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1962, allocations: 12 kB / 0.6402 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.1978, allocations: 0.696 MB / 0.6408 GB, free: 12.99 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005789/0.2036, allocations: 2.882 MB / 0.6437 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/0.217, allocations: 2.949 MB / 0.6465 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.2181, allocations: 497.5 kB / 0.647 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-05/0.2182, allocations: 20.47 kB / 0.647 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2183, allocations: 39.12 kB / 0.6471 GB, free: 6.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=64): time 3.386e-06/0.2183, allocations: 0 / 0.6471 GB, free: 6.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.01324/0.2315, allocations: 3.559 MB / 0.6505 GB, free: 2.797 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.2316, allocations: 85.67 kB / 0.6506 GB, free: 2.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.2332, allocations: 0.7938 MB / 0.6514 GB, free: 1.895 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.2334, allocations: 41.7 kB / 0.6514 GB, free: 1.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.2337, allocations: 376.5 kB / 0.6518 GB, free: 1.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.2341, allocations: 236.6 kB / 0.652 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.2345, allocations: 182.5 kB / 0.6522 GB, free: 1.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2347, allocations: 353.9 kB / 0.6525 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.2359, allocations: 0.5552 MB / 0.6531 GB, free: 148 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.2372, allocations: 0.6547 MB / 0.6537 GB, free: 15.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.2396, allocations: 1.147 MB / 0.6548 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.2396, allocations: 4 kB / 0.6548 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007939/0.2475, allocations: 2.508 MB / 0.6573 GB, free: 11.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.2476, allocations: 4 kB / 0.6573 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2476, allocations: 4 kB / 0.6573 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/0.2521, allocations: 1.052 MB / 0.6583 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.2531, allocations: 171.8 kB / 0.6585 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.2647, allocations: 5.07 MB / 0.6634 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.2663, allocations: 119.2 kB / 0.6636 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.2666, allocations: 32 kB / 0.6636 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001695/0.2683, allocations: 0.6908 MB / 0.6643 GB, free: 4.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.2697, allocations: 0.6469 MB / 0.6649 GB, free: 3.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00236/0.272, allocations: 1.135 MB / 0.666 GB, free: 2.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/0.2721, allocations: 4 kB / 0.666 GB, free: 2.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007937/0.28, allocations: 2.481 MB / 0.6684 GB, free: 128 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.28, allocations: 8 kB / 0.6684 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2801, allocations: 0 / 0.6684 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.2845, allocations: 1.05 MB / 0.6695 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2855, allocations: 167.7 kB / 0.6696 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.2969, allocations: 5.081 MB / 0.6746 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.2984, allocations: 115.2 kB / 0.6747 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.2986, allocations: 31.98 kB / 0.6747 GB, free: 9.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004518/0.2991, allocations: 232 kB / 0.6749 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.2995, allocations: 90.88 kB / 0.675 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006591/0.3061, allocations: 2.032 MB / 0.677 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3061, allocations: 3.984 kB / 0.677 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3061, allocations: 0 / 0.677 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.3065, allocations: 195.7 kB / 0.6772 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.3067, allocations: 12 kB / 0.6772 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.3076, allocations: 51.94 kB / 0.6773 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.3081, allocations: 188.3 kB / 0.6774 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005121/0.3132, allocations: 1.489 MB / 0.6789 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003286/0.3165, allocations: 1.604 MB / 0.6805 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009146/0.3175, allocations: 412.3 kB / 0.6809 GB, free: 3.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008833/0.3184, allocations: 0.5342 MB / 0.6814 GB, free: 2.625 MB / 494.1 MB Notification: Performance of Backend: time 3.01e-07/0.3184, allocations: 0 / 0.6814 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008788/0.3272, allocations: 2.986 MB / 0.6843 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003422/0.3306, allocations: 2.194 MB / 0.6864 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.03867/0.3693, allocations: 23.93 MB / 0.7098 GB, free: 5.34 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)