Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001891/0.001891, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 101.3 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3729/0.3729, allocations: 48.83 MB / 366.7 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 51.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 59.16 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3389/0.4441, allocations: 168.7 MB / 0.6489 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.4493, allocations: 4.043 MB / 0.6528 GB, free: 6.52 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.4498, allocations: 11.94 kB / 0.6528 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.4505, allocations: 238.8 kB / 0.6531 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.4514, allocations: 0.5369 MB / 0.6536 GB, free: 5.734 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.4548, allocations: 1.495 MB / 0.6551 GB, free: 4.262 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.4563, allocations: 1.739 MB / 0.6568 GB, free: 2.52 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.4567, allocations: 346.1 kB / 0.6571 GB, free: 2.188 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.4572, allocations: 478.2 kB / 0.6575 GB, free: 1.719 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.4577, allocations: 0.5294 MB / 0.6581 GB, free: 1.188 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.4578, allocations: 28 kB / 0.6581 GB, free: 1.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.4592, allocations: 0.8302 MB / 0.6589 GB, free: 336 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.4596, allocations: 446.8 kB / 0.6593 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.46, allocations: 0.5047 MB / 0.6598 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.4615, allocations: 1.569 MB / 0.6613 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4615, allocations: 0 / 0.6613 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.4615, allocations: 0 / 0.6613 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4615, allocations: 3.938 kB / 0.6614 GB, free: 13.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002046/0.4636, allocations: 1.478 MB / 0.6628 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.4636, allocations: 8.031 kB / 0.6628 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.4643, allocations: 182.3 kB / 0.663 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4654, allocations: 0.8469 MB / 0.6638 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.4655, allocations: 41.31 kB / 0.6638 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.4655, allocations: 48 kB / 0.6639 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.4664, allocations: 0.6354 MB / 0.6645 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4665, allocations: 3.984 kB / 0.6645 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.4665, allocations: 23.94 kB / 0.6645 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4666, allocations: 16 kB / 0.6646 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.4673, allocations: 493 kB / 0.665 GB, free: 9.926 MB / 490.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.00381/0.4711, allocations: 2.572 MB / 0.6675 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4714, allocations: 202.6 kB / 0.6677 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4715, allocations: 76.83 kB / 0.6678 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.4718, allocations: 113.1 kB / 0.6679 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4718, allocations: 38.56 kB / 0.6679 GB, free: 6.738 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/0.4718, allocations: 3.984 kB / 0.6679 GB, free: 6.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005971/0.4724, allocations: 361.6 kB / 0.6683 GB, free: 6.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.4725, allocations: 51.41 kB / 0.6683 GB, free: 6.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.4745, allocations: 1.882 MB / 0.6702 GB, free: 4.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4745, allocations: 33.7 kB / 0.6702 GB, free: 4.371 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.4749, allocations: 0.5636 MB / 0.6708 GB, free: 3.805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.475, allocations: 74.92 kB / 0.6708 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4751, allocations: 81.97 kB / 0.6709 GB, free: 3.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4753, allocations: 325.9 kB / 0.6712 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4755, allocations: 139.3 kB / 0.6714 GB, free: 3.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4757, allocations: 230 kB / 0.6716 GB, free: 2.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.4762, allocations: 345.9 kB / 0.6719 GB, free: 2.527 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4762, allocations: 4 kB / 0.6719 GB, free: 2.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007299/0.4769, allocations: 0.4963 MB / 0.6724 GB, free: 2.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4769, allocations: 8 kB / 0.6724 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.477, allocations: 7.984 kB / 0.6724 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.477, allocations: 4 kB / 0.6724 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.4775, allocations: 118.1 kB / 0.6725 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.4784, allocations: 1.789 MB / 0.6743 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.4789, allocations: 75.47 kB / 0.6743 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.4789, allocations: 23.98 kB / 0.6744 GB, free: 15.93 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.4793, allocations: 379.7 kB / 0.6747 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.4795, allocations: 122.5 kB / 0.6748 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.48, allocations: 356 kB / 0.6752 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4801, allocations: 0 / 0.6752 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4801, allocations: 0 / 0.6752 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4801, allocations: 0 / 0.6752 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.4808, allocations: 0.7027 MB / 0.6759 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4808, allocations: 0 / 0.6759 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.4812, allocations: 71.89 kB / 0.6759 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4812, allocations: 4 kB / 0.6759 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4812, allocations: 3.984 kB / 0.6759 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.4821, allocations: 1.781 MB / 0.6777 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4821, allocations: 288 / 0.6777 GB, free: 12.39 MB / 0.4948 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.4951, allocations: 5.422 MB / 0.683 GB, free: 6.676 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.