Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07761/0.07761, 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.001095/0.001095, 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.326/1.326, 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.00132/0.00132, 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.4509/0.4509, 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.002683/0.002683, allocations: 138.8 kB / 0.5565 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1255, allocations: 68.13 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007557/0.1331, allocations: 6.823 MB / 0.6297 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.1372, allocations: 1.982 MB / 0.6317 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.1381, allocations: 15.94 kB / 0.6317 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.1389, allocations: 241.9 kB / 0.6319 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.1411, allocations: 0.8587 MB / 0.6328 GB, free: 5.441 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.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1424, allocations: 0.6545 MB / 0.6334 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.1442, allocations: 1.62 MB / 0.635 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.1447, allocations: 334.5 kB / 0.6353 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.1455, allocations: 0.6691 MB / 0.636 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008218/0.1463, allocations: 0.8323 MB / 0.6368 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.1465, allocations: 124 kB / 0.6369 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.147, allocations: 259.9 kB / 0.6371 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1473, allocations: 330.6 kB / 0.6375 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.1479, allocations: 0.6914 MB / 0.6381 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1495, allocations: 1.681 MB / 0.6398 GB, free: 14.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1495, allocations: 4 kB / 0.6398 GB, free: 14.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1495, allocations: 0 / 0.6398 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1495, allocations: 4 kB / 0.6398 GB, free: 14.23 MB / 462.1 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.008752/0.1583, allocations: 2.711 MB / 0.6424 GB, free: 11.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1583, allocations: 11.98 kB / 0.6424 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.1634, allocations: 0.7787 MB / 0.6432 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1651, allocations: 0.9078 MB / 0.6441 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.1654, allocations: 264.2 kB / 0.6443 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.1656, allocations: 88 kB / 0.6444 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.1683, allocations: 1.407 MB / 0.6458 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1684, allocations: 0 / 0.6458 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.1685, allocations: 32 kB / 0.6458 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1685, allocations: 16 kB / 0.6458 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1706, allocations: 1.005 MB / 0.6468 GB, free: 6.832 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.005794/0.1764, allocations: 3.665 MB / 0.6504 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.1839, allocations: 2.564 MB / 0.6529 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.1855, allocations: 0.7644 MB / 0.6536 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.1857, allocations: 32.55 kB / 0.6537 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.1872, allocations: 0.747 MB / 0.6544 GB, free: 14.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.958e-06/0.1872, allocations: 3.938 kB / 0.6544 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.02883/0.216, allocations: 7.172 MB / 0.6614 GB, free: 7.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.2162, allocations: 174.8 kB / 0.6616 GB, free: 7.254 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2178, allocations: 1.091 MB / 0.6627 GB, free: 6.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.218, allocations: 45.7 kB / 0.6627 GB, free: 6.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.2184, allocations: 485.1 kB / 0.6632 GB, free: 5.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.2187, allocations: 319.7 kB / 0.6635 GB, free: 5.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005169/0.2193, allocations: 307.4 kB / 0.6638 GB, free: 4.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2194, allocations: 305.1 kB / 0.664 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.2209, allocations: 0.7379 MB / 0.6648 GB, free: 3.957 MB / 478.1 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous could not be translated