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.0009675/0.0009676, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.388/1.388, allocations: 223.3 MB / 239.4 MB, free: 5.391 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.001274/0.001274, allocations: 180.5 kB / 290.6 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4723/0.4723, allocations: 78.55 MB / 420.3 MB, free: 4.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005169, allocations: 8 kB / 0.4887 GB, free: 5.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1679, allocations: 69.37 MB / 0.5564 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2455/0.4135, allocations: 5.682 MB / 0.5619 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.417, allocations: 1.771 MB / 0.5637 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.4178, allocations: 18.06 kB / 0.5637 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.4183, allocations: 162.8 kB / 0.5638 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.4198, allocations: 0.5903 MB / 0.5644 GB, free: 35.4 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.001223/0.421, allocations: 0.5287 MB / 0.5649 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4224, allocations: 1.197 MB / 0.5661 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.4229, allocations: 236.1 kB / 0.5663 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.4235, allocations: 474 kB / 0.5668 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.4241, allocations: 0.5924 MB / 0.5674 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.4242, allocations: 46.94 kB / 0.5674 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.4247, allocations: 179.1 kB / 0.5676 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.4249, allocations: 198.3 kB / 0.5678 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.4253, allocations: 0.5228 MB / 0.5683 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.4265, allocations: 1.283 MB / 0.5695 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4265, allocations: 0 / 0.5695 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4265, allocations: 0.6562 kB / 0.5695 GB, free: 33.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.4265, allocations: 0 / 0.5695 GB, free: 33.98 MB / 430.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.006858/0.4334, allocations: 2.195 MB / 0.5717 GB, free: 33.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4335, allocations: 10.31 kB / 0.5717 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.4383, allocations: 0.7661 MB / 0.5724 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.4394, allocations: 0.7049 MB / 0.5731 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.4396, allocations: 259.1 kB / 0.5734 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4398, allocations: 69.38 kB / 0.5734 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.4417, allocations: 1.036 MB / 0.5745 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4418, allocations: 3.938 kB / 0.5745 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.4418, allocations: 25.22 kB / 0.5745 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4419, allocations: 15.69 kB / 0.5745 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.4438, allocations: 1.062 MB / 0.5755 GB, free: 32.46 MB / 430.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.004854/0.4487, allocations: 3.253 MB / 0.5787 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.4505, allocations: 1.383 MB / 0.5801 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.452, allocations: 0.7827 MB / 0.5808 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.4521, allocations: 14.69 kB / 0.5808 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4521, allocations: 41.81 kB / 0.5809 GB, free: 30.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.875e-06/0.4521, allocations: 0 / 0.5809 GB, free: 30.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02721/0.4793, allocations: 8.061 MB / 0.5887 GB, free: 29.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4794, allocations: 59.88 kB / 0.5888 GB, free: 29.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.4805, allocations: 0.7971 MB / 0.5896 GB, free: 28.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.4807, allocations: 40.11 kB / 0.5896 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.481, allocations: 433.5 kB / 0.59 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.4814, allocations: 297.7 kB / 0.5903 GB, free: 28.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.4816, allocations: 95.66 kB / 0.5904 GB, free: 28.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.4816, allocations: 348.5 kB / 0.5907 GB, free: 28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.4832, allocations: 0.7356 MB / 0.5915 GB, free: 27.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.485, allocations: 0.8614 MB / 0.5923 GB, free: 27.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/0.5044, allocations: 5.017 MB / 0.5972 GB, free: 26.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.5044, allocations: 0 / 0.5972 GB, free: 26.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01562/0.52, allocations: 4.991 MB / 0.6021 GB, free: 25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5201, allocations: 5.781 kB / 0.6021 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5201, allocations: 2.094 kB / 0.6021 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006977/0.5271, allocations: 2.052 MB / 0.6041 GB, free: 24.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5282, allocations: 193.8 kB / 0.6043 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.5506, allocations: 9.314 MB / 0.6134 GB, free: 19.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.5522, allocations: 200.8 kB / 0.6136 GB, free: 18.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.5525, allocations: 39.98 kB / 0.6136 GB, free: 18.91 MB / 430.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.0006388/0.5531, allocations: 214.5 kB / 0.6138 GB, free: 18.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.5535, allocations: 107.2 kB / 0.6139 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.5668, allocations: 4.727 MB / 0.6185 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.5669, allocations: 8 kB / 0.6185 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5669, allocations: 4 kB / 0.6185 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/0.5669, allocations: 8.828 kB / 0.6185 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.5822, allocations: 6.286 MB / 0.6247 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.5822, allocations: 9.188 kB / 0.6247 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.5828, allocations: 87.89 kB / 0.6248 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006095/0.5889, allocations: 2.057 MB / 0.6268 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.5891, allocations: 12 kB / 0.6268 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.6073, allocations: 8.215 MB / 0.6348 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6073, allocations: 0 / 0.6348 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/0.6239, allocations: 5.727 MB / 0.6404 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.6243, allocations: 192.3 kB / 0.6406 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.6247, allocations: 16 kB / 0.6406 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6258, allocations: 130 kB / 0.6407 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/0.6264, allocations: 192.7 kB / 0.6409 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/0.6265, allocations: 24.88 kB / 0.6409 GB, free: 6.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.6273, allocations: 0.5302 MB / 0.6415 GB, free: 6.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6273, allocations: 0 / 0.6415 GB, free: 6.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001705/0.629, allocations: 415.5 kB / 0.6419 GB, free: 5.645 MB / 446.1 MB 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.0002787/0.6293, allocations: 115.7 kB / 0.642 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006829/0.6361, allocations: 2.571 MB / 0.6445 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6361, allocations: 64 / 0.6445 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.641, allocations: 1.705 MB / 0.6461 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.642, allocations: 79.28 kB / 0.6462 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.6455, allocations: 2.215 MB / 0.6484 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.6462, allocations: 1.033 MB / 0.6494 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.6465, allocations: 85.22 kB / 0.6495 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.6467, allocations: 51.44 kB / 0.6495 GB, free: 13.75 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6467, allocations: 4 kB / 0.6495 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Templates: time 0.03041/0.6771, allocations: 19.47 MB / 0.6685 GB, free: 10.45 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: