Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008085/0.008086, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4609/0.4609, allocations: 78.52 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 80.09 kB / 0.5536 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3737, allocations: 68.16 MB / 0.6202 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004768/0.3785, allocations: 5.79 MB / 0.6258 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3812, allocations: 1.743 MB / 0.6276 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.3816, allocations: 8 kB / 0.6276 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.382, allocations: 206.2 kB / 0.6278 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.3833, allocations: 0.6841 MB / 0.6284 GB, free: 1.785 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.3843, allocations: 0.5696 MB / 0.629 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009877/0.3853, allocations: 1.261 MB / 0.6302 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.3857, allocations: 271.1 kB / 0.6305 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006717/0.3864, allocations: 0.5212 MB / 0.631 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.387, allocations: 0.6417 MB / 0.6316 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3871, allocations: 91.94 kB / 0.6317 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.3875, allocations: 227.9 kB / 0.6319 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.3877, allocations: 242.9 kB / 0.6321 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.3882, allocations: 0.5437 MB / 0.6327 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3897, allocations: 1.363 MB / 0.634 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3897, allocations: 0 / 0.634 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3897, allocations: 0 / 0.634 GB, free: 12.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.3897, allocations: 0 / 0.634 GB, free: 12.05 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007398/0.3971, allocations: 2.391 MB / 0.6363 GB, free: 9.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3972, allocations: 12.03 kB / 0.6363 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.4022, allocations: 0.7641 MB / 0.6371 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4036, allocations: 0.7096 MB / 0.6378 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.4039, allocations: 256.2 kB / 0.638 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.4041, allocations: 64 kB / 0.6381 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.406, allocations: 0.9599 MB / 0.639 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.406, allocations: 7.875 kB / 0.639 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.4061, allocations: 24 kB / 0.6391 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4061, allocations: 16 kB / 0.6391 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.4081, allocations: 0.9799 MB / 0.64 GB, free: 5.734 MB / 446.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.005092/0.4133, allocations: 3.159 MB / 0.6431 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.4152, allocations: 1.314 MB / 0.6444 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.4165, allocations: 0.7071 MB / 0.6451 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-05/0.4166, allocations: 12.98 kB / 0.6451 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4166, allocations: 39.56 kB / 0.6451 GB, free: 228 kB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.364e-06/0.4167, allocations: 0 / 0.6451 GB, free: 228 kB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02469/0.4413, allocations: 6.485 MB / 0.6515 GB, free: 9.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4414, allocations: 60.41 kB / 0.6515 GB, free: 9.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4425, allocations: 0.7946 MB / 0.6523 GB, free: 8.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.4427, allocations: 41.7 kB / 0.6523 GB, free: 8.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.443, allocations: 433.1 kB / 0.6528 GB, free: 8.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.4433, allocations: 321.2 kB / 0.6531 GB, free: 8.035 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.4437, allocations: 186.9 kB / 0.6532 GB, free: 7.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4438, allocations: 353.9 kB / 0.6536 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4452, allocations: 0.6584 MB / 0.6542 GB, free: 6.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.4467, allocations: 0.7835 MB / 0.655 GB, free: 6.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/0.4645, allocations: 4.524 MB / 0.6594 GB, free: 1.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.4646, allocations: 0 / 0.6594 GB, free: 1.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01305/0.4776, allocations: 4.087 MB / 0.6634 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4777, allocations: 8 kB / 0.6634 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4777, allocations: 0 / 0.6634 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005885/0.4836, allocations: 1.737 MB / 0.6651 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.4845, allocations: 191.7 kB / 0.6653 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.5054, allocations: 9.056 MB / 0.6741 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5068, allocations: 155.2 kB / 0.6743 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-05/0.5069, allocations: 35.98 kB / 0.6743 GB, free: 2.027 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004275/0.5073, allocations: 231.8 kB / 0.6745 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5075, allocations: 111.3 kB / 0.6746 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5203, allocations: 3.813 MB / 0.6784 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.5203, allocations: 11.94 kB / 0.6784 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5203, allocations: 0 / 0.6784 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.5203, allocations: 3.984 kB / 0.6784 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.5349, allocations: 5.376 MB / 0.6836 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.535, allocations: 0 / 0.6836 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.5356, allocations: 87.89 kB / 0.6837 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/0.5414, allocations: 1.741 MB / 0.6854 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.5416, allocations: 19.98 kB / 0.6854 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.5604, allocations: 8.065 MB / 0.6933 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5604, allocations: 0 / 0.6933 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.575, allocations: 4.74 MB / 0.6979 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.5754, allocations: 200.2 kB / 0.6981 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5756, allocations: 16 kB / 0.6981 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.5765, allocations: 83.89 kB / 0.6982 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006745/0.5772, allocations: 208.6 kB / 0.6984 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.5773, allocations: 31.98 kB / 0.6985 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006946/0.578, allocations: 0.5303 MB / 0.699 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.578, allocations: 4 kB / 0.699 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001295/0.5793, allocations: 403.7 kB / 0.6994 GB, free: 8.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.5796, allocations: 123.2 kB / 0.6995 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006291/0.5859, allocations: 2.312 MB / 0.7017 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5859, allocations: 0 / 0.7017 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/0.5905, allocations: 1.523 MB / 0.7032 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.5912, allocations: 80.84 kB / 0.7033 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.5943, allocations: 1.803 MB / 0.7051 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.5949, allocations: 1.029 MB / 0.7061 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.5952, allocations: 86.3 kB / 0.7061 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.5954, allocations: 63.36 kB / 0.7062 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5954, allocations: 4 kB / 0.7062 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of Templates: time 0.03352/0.6289, allocations: 22.4 MB / 0.7281 GB, free: 10.5 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)