Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008473/0.0008474, allocations: 180.1 kB / 16.08 MB, free: 5.727 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.228/1.228, allocations: 222.9 MB / 239.7 MB, free: 10.2 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.0007394/0.0007394, allocations: 109.1 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4132/0.4132, allocations: 78.42 MB / 419.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003251, allocations: 12 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 68.75 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.00508/0.2483, allocations: 7.055 MB / 0.5614 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.2512, allocations: 2.071 MB / 0.5634 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.2515, allocations: 12 kB / 0.5634 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.252, allocations: 186.8 kB / 0.5636 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.2533, allocations: 0.707 MB / 0.5643 GB, free: 10.18 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0009245/0.2542, allocations: 0.6149 MB / 0.5649 GB, free: 9.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.2551, allocations: 1.526 MB / 0.5664 GB, free: 8.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2554, allocations: 301.2 kB / 0.5667 GB, free: 7.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.2558, allocations: 0.5714 MB / 0.5673 GB, free: 7.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.2563, allocations: 0.7542 MB / 0.568 GB, free: 6.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2565, allocations: 60 kB / 0.568 GB, free: 6.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2568, allocations: 195.8 kB / 0.5682 GB, free: 6.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.2569, allocations: 262.6 kB / 0.5685 GB, free: 5.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.2573, allocations: 0.6093 MB / 0.5691 GB, free: 5.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008407/0.2581, allocations: 1.582 MB / 0.5706 GB, free: 3.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2581, allocations: 0 / 0.5706 GB, free: 3.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2581, allocations: 0 / 0.5706 GB, free: 3.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2582, allocations: 0 / 0.5706 GB, free: 3.699 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.006718/0.2649, allocations: 2.456 MB / 0.573 GB, free: 1.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2649, allocations: 8.031 kB / 0.573 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.2695, allocations: 0.7787 MB / 0.5738 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2708, allocations: 0.9002 MB / 0.5747 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.2711, allocations: 264.2 kB / 0.5749 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.2713, allocations: 87.94 kB / 0.575 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.2737, allocations: 1.421 MB / 0.5764 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2738, allocations: 0 / 0.5764 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.2739, allocations: 31.98 kB / 0.5764 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2739, allocations: 20 kB / 0.5764 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.2758, allocations: 0.9967 MB / 0.5774 GB, free: 12.56 MB / 394.7 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.005494/0.2813, allocations: 3.685 MB / 0.581 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/0.2887, allocations: 2.571 MB / 0.5835 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2902, allocations: 0.7677 MB / 0.5843 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.2903, allocations: 20.7 kB / 0.5843 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.2917, allocations: 0.7548 MB / 0.585 GB, free: 4.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.2917, allocations: 0 / 0.585 GB, free: 4.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.02638/0.3181, allocations: 7.176 MB / 0.592 GB, free: 13.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.3182, allocations: 166.9 kB / 0.5922 GB, free: 12.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.3196, allocations: 1.083 MB / 0.5933 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.3198, allocations: 49.69 kB / 0.5933 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.3201, allocations: 489.1 kB / 0.5938 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.3204, allocations: 327.6 kB / 0.5941 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3206, allocations: 153.6 kB / 0.5942 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.3207, allocations: 301.1 kB / 0.5945 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.3221, allocations: 0.7379 MB / 0.5952 GB, free: 9.82 MB / 410.7 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated