Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08024/0.08024, allocations: 12.6 MB / 28.91 MB, free: 0.7344 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.001084/0.001084, allocations: 115.5 kB / 32.51 MB, free: 3.672 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.335/1.335, allocations: 205.1 MB / 241.1 MB, free: 12.34 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.001275/0.001275, allocations: 188.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4453/0.4453, 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.002667/0.002667, allocations: 143.1 kB / 0.5565 GB, free: 28.3 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1108, allocations: 68.12 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.006939/0.1177, allocations: 6.182 MB / 0.6291 GB, free: 9.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.1215, allocations: 1.822 MB / 0.6309 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.1222, allocations: 15.94 kB / 0.6309 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.1228, allocations: 210.2 kB / 0.6311 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.1247, allocations: 0.7455 MB / 0.6318 GB, free: 6.398 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1262, allocations: 0.6425 MB / 0.6324 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.1278, allocations: 1.366 MB / 0.6338 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.1283, allocations: 291.3 kB / 0.6341 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.1291, allocations: 0.5601 MB / 0.6346 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008869/0.13, allocations: 0.6883 MB / 0.6353 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.1303, allocations: 96 kB / 0.6354 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.1308, allocations: 239.9 kB / 0.6356 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.131, allocations: 262.8 kB / 0.6358 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.1315, allocations: 0.5864 MB / 0.6364 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1329, allocations: 1.456 MB / 0.6378 GB, free: 212 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1329, allocations: 0 / 0.6378 GB, free: 212 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1329, allocations: 0 / 0.6378 GB, free: 212 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.133, allocations: 0 / 0.6378 GB, free: 212 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007851/0.1408, allocations: 2.438 MB / 0.6402 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1409, allocations: 11.98 kB / 0.6402 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/0.1459, allocations: 0.7712 MB / 0.641 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1472, allocations: 0.7438 MB / 0.6417 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.1475, allocations: 256.2 kB / 0.642 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1476, allocations: 76 kB / 0.642 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.1499, allocations: 1.094 MB / 0.6431 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1499, allocations: 3.938 kB / 0.6431 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.15, allocations: 31.94 kB / 0.6431 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1501, allocations: 20 kB / 0.6432 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1524, allocations: 1.023 MB / 0.6442 GB, free: 9.598 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.006015/0.1584, allocations: 3.442 MB / 0.6475 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.1609, allocations: 1.435 MB / 0.6489 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.1625, allocations: 0.7538 MB / 0.6497 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.1626, allocations: 17 kB / 0.6497 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1626, allocations: 39.56 kB / 0.6497 GB, free: 3.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.176e-06/0.1626, allocations: 0 / 0.6497 GB, free: 3.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02888/0.1915, allocations: 6.894 MB / 0.6564 GB, free: 12.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1916, allocations: 90.09 kB / 0.6565 GB, free: 12.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1928, allocations: 0.8241 MB / 0.6573 GB, free: 11.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.1931, allocations: 45.64 kB / 0.6574 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.1934, allocations: 452.6 kB / 0.6578 GB, free: 11.24 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.1939, allocations: 327.3 kB / 0.6581 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.1943, allocations: 202.8 kB / 0.6583 GB, free: 10.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1945, allocations: 353.9 kB / 0.6586 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.1961, allocations: 0.7048 MB / 0.6593 GB, free: 9.648 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.1979, allocations: 0.8431 MB / 0.6602 GB, free: 8.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.2011, allocations: 1.521 MB / 0.6616 GB, free: 7.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2011, allocations: 0 / 0.6616 GB, free: 7.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0142/0.2153, allocations: 4.234 MB / 0.6658 GB, free: 2.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2154, allocations: 8 kB / 0.6658 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2154, allocations: 7.984 kB / 0.6658 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00657/0.222, allocations: 1.784 MB / 0.6675 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.2231, allocations: 195.7 kB / 0.6677 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.2461, allocations: 9.29 MB / 0.6768 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.2476, allocations: 166.9 kB / 0.677 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.2478, allocations: 43.98 kB / 0.677 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002006/0.2498, allocations: 0.8577 MB / 0.6778 GB, free: 6.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001719/0.2516, allocations: 0.8276 MB / 0.6786 GB, free: 5.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003204/0.2548, allocations: 1.498 MB / 0.6801 GB, free: 4.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/0.2548, allocations: 0 / 0.6801 GB, free: 4.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01419/0.269, allocations: 4.214 MB / 0.6842 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2691, allocations: 4 kB / 0.6842 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2691, allocations: 7.984 kB / 0.6842 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006496/0.2756, allocations: 1.78 MB / 0.686 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2766, allocations: 195.7 kB / 0.6862 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.2992, allocations: 9.302 MB / 0.6952 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3007, allocations: 143.2 kB / 0.6954 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.3009, allocations: 43.98 kB / 0.6954 GB, free: 4.227 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003361/0.3012, allocations: 232.1 kB / 0.6956 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.3015, allocations: 110.6 kB / 0.6957 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.3152, allocations: 3.904 MB / 0.6996 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.3153, allocations: 3.984 kB / 0.6996 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3153, allocations: 3.938 kB / 0.6996 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.3157, allocations: 187.6 kB / 0.6997 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.3159, allocations: 23.98 kB / 0.6998 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3171, allocations: 99.83 kB / 0.6999 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/0.3183, allocations: 488.2 kB / 0.7003 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006284/0.3246, allocations: 2.016 MB / 0.7023 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004814/0.3294, allocations: 2.173 MB / 0.7044 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00141/0.3308, allocations: 0.5739 MB / 0.705 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007539/0.3316, allocations: 0.5511 MB / 0.7055 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of Backend: time 4.11e-07/0.3316, allocations: 3.938 kB / 0.7055 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.3432, allocations: 3.738 MB / 0.7092 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003543/0.3468, allocations: 2.558 MB / 0.7117 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.289/0.6358, allocations: 33.15 MB / 0.744 GB, free: 75.25 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)