Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1015/0.1015, allocations: 12.59 MB / 28.9 MB, free: 0.6953 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.00113/0.00113, allocations: 115.5 kB / 32.5 MB, free: 3.629 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.395/1.395, 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.001788/0.001788, allocations: 184.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.4831/0.4831, allocations: 78.52 MB / 420 MB, free: 11.27 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.002741/0.002741, allocations: 130.7 kB / 0.5565 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.15, allocations: 68.12 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008273/0.1584, allocations: 6.546 MB / 0.6294 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.1633, allocations: 1.838 MB / 0.6312 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.1649, allocations: 12 kB / 0.6313 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1659, allocations: 226 kB / 0.6315 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.1688, allocations: 0.7142 MB / 0.6322 GB, free: 6.055 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 Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1705, allocations: 0.6162 MB / 0.6328 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.1729, allocations: 1.425 MB / 0.6342 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.1736, allocations: 316.4 kB / 0.6345 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1748, allocations: 0.599 MB / 0.635 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.176, allocations: 0.7388 MB / 0.6358 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.1765, allocations: 100 kB / 0.6359 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008832/0.1774, allocations: 243.8 kB / 0.6361 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.1778, allocations: 274.8 kB / 0.6364 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009932/0.1788, allocations: 0.6251 MB / 0.637 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.181, allocations: 1.522 MB / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.181, allocations: 0 / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.181, allocations: 0 / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.57e-05/0.1811, allocations: 0 / 0.6385 GB, free: 15.59 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009014/0.1901, allocations: 2.56 MB / 0.641 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1901, allocations: 11.98 kB / 0.641 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.1954, allocations: 0.7749 MB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.1972, allocations: 0.7802 MB / 0.6425 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.1975, allocations: 256.2 kB / 0.6427 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1978, allocations: 80 kB / 0.6428 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.2006, allocations: 1.081 MB / 0.6439 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.2006, allocations: 11.81 kB / 0.6439 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.2007, allocations: 28 kB / 0.6439 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.2008, allocations: 20 kB / 0.6439 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.2035, allocations: 1.128 MB / 0.645 GB, free: 8.707 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.006554/0.21, allocations: 3.44 MB / 0.6484 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.2123, allocations: 1.439 MB / 0.6498 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.214, allocations: 0.7852 MB / 0.6506 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2142, allocations: 20.98 kB / 0.6506 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2142, allocations: 39.56 kB / 0.6506 GB, free: 2.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.095e-06/0.2142, allocations: 0 / 0.6506 GB, free: 2.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.0262/0.2404, allocations: 6.61 MB / 0.6571 GB, free: 12.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.2405, allocations: 60.41 kB / 0.6571 GB, free: 11.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.2419, allocations: 0.8923 MB / 0.658 GB, free: 11.08 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002561/0.2422, allocations: 41.7 kB / 0.658 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.2426, allocations: 0.489 MB / 0.6585 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.2432, allocations: 354.9 kB / 0.6588 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/0.2437, allocations: 206.8 kB / 0.659 GB, free: 9.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2439, allocations: 353.9 kB / 0.6594 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.2456, allocations: 0.7326 MB / 0.6601 GB, free: 8.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.2476, allocations: 0.854 MB / 0.6609 GB, free: 8.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01962/0.2673, allocations: 4.857 MB / 0.6657 GB, free: 3.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.2673, allocations: 4 kB / 0.6657 GB, free: 3.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01522/0.2825, allocations: 4.273 MB / 0.6699 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.2826, allocations: 8 kB / 0.6699 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.2826, allocations: 0 / 0.6699 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006283/0.2889, allocations: 1.726 MB / 0.6715 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.2902, allocations: 227.6 kB / 0.6718 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.3131, allocations: 9.048 MB / 0.6806 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.315, allocations: 178.9 kB / 0.6808 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.3153, allocations: 43.98 kB / 0.6808 GB, free: 3.438 MB / 494.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 (117): * Single equations (assignments): 116 * 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.0008176/0.3162, allocations: 239 kB / 0.681 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/0.3166, allocations: 126.4 kB / 0.6812 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.3304, allocations: 4.006 MB / 0.6851 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.3305, allocations: 11.94 kB / 0.6851 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3305, allocations: 0 / 0.6851 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/0.3306, allocations: 7.969 kB / 0.6851 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.3477, allocations: 5.614 MB / 0.6906 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.3478, allocations: 0 / 0.6906 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.3486, allocations: 131.8 kB / 0.6907 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006136/0.3548, allocations: 1.745 MB / 0.6924 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/0.3551, allocations: 16 kB / 0.6924 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.3743, allocations: 8.057 MB / 0.7003 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3744, allocations: 4 kB / 0.7003 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.3901, allocations: 4.948 MB / 0.7051 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.3906, allocations: 203.4 kB / 0.7053 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/0.391, allocations: 16 kB / 0.7053 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.3923, allocations: 111.9 kB / 0.7054 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/0.3932, allocations: 224.5 kB / 0.7057 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.3933, allocations: 27.98 kB / 0.7057 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009649/0.3943, allocations: 0.593 MB / 0.7063 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3943, allocations: 0 / 0.7063 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001642/0.3959, allocations: 439.4 kB / 0.7067 GB, free: 8.578 MB / 0.5137 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 (65): * Single equations (assignments): 64 * 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.0003826/0.3963, allocations: 135.2 kB / 0.7068 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007157/0.4035, allocations: 2.478 MB / 0.7092 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4035, allocations: 0 / 0.7092 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/0.4085, allocations: 1.601 MB / 0.7108 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.4095, allocations: 99.61 kB / 0.7109 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.4139, allocations: 2.087 MB / 0.7129 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.4147, allocations: 1.106 MB / 0.714 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.4151, allocations: 79.41 kB / 0.7141 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.4151, allocations: 0 / 0.7141 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of Templates: time 0.348/0.7631, allocations: 20.17 MB / 0.7338 GB, free: 79.91 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)