Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 97.61 kB / 15.73 MB, free: 6.012 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.341/1.341, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001326/0.001326, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4461/0.4461, allocations: 78.53 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 83.88 kB / 0.5532 GB, free: 1.445 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3389, allocations: 68.16 MB / 0.6197 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005887/0.3448, allocations: 6.478 MB / 0.6261 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3487, allocations: 1.857 MB / 0.6279 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.3499, allocations: 19.94 kB / 0.6279 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.3507, allocations: 229.9 kB / 0.6281 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.3531, allocations: 0.7203 MB / 0.6288 GB, free: 0.8359 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.001369/0.3544, allocations: 0.6084 MB / 0.6294 GB, free: 240 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.3565, allocations: 1.433 MB / 0.6308 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006194/0.3571, allocations: 330.6 kB / 0.6311 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009781/0.3581, allocations: 0.5873 MB / 0.6317 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3592, allocations: 0.731 MB / 0.6324 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.3595, allocations: 103.9 kB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.3602, allocations: 243.9 kB / 0.6327 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.3605, allocations: 274.7 kB / 0.633 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007113/0.3612, allocations: 0.6291 MB / 0.6336 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.363, allocations: 1.526 MB / 0.6351 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.363, allocations: 4 kB / 0.6351 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.363, allocations: 0 / 0.6351 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.931e-05/0.3631, allocations: 0 / 0.6351 GB, free: 10.36 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008478/0.3716, allocations: 2.56 MB / 0.6376 GB, free: 7.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3716, allocations: 12.03 kB / 0.6376 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.3718, allocations: 126.8 kB / 0.6377 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/0.3768, allocations: 0.7749 MB / 0.6385 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.3783, allocations: 0.7763 MB / 0.6393 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.3786, allocations: 260.2 kB / 0.6395 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.3788, allocations: 76 kB / 0.6396 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.3813, allocations: 1.085 MB / 0.6406 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3813, allocations: 0 / 0.6406 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.053e-05/0.3814, allocations: 32 kB / 0.6407 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3814, allocations: 20 kB / 0.6407 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.3841, allocations: 1.128 MB / 0.6418 GB, free: 3.352 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.006335/0.3905, allocations: 3.444 MB / 0.6452 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.3928, allocations: 1.427 MB / 0.6465 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.3946, allocations: 0.7813 MB / 0.6473 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3947, allocations: 16.98 kB / 0.6473 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3947, allocations: 47.5 kB / 0.6474 GB, free: 13.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 6.021e-06/0.3947, allocations: 3.984 kB / 0.6474 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02642/0.4212, allocations: 6.613 MB / 0.6538 GB, free: 6.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4213, allocations: 64.41 kB / 0.6539 GB, free: 6.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4225, allocations: 0.8884 MB / 0.6548 GB, free: 5.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4227, allocations: 41.7 kB / 0.6548 GB, free: 5.672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.4231, allocations: 0.4889 MB / 0.6553 GB, free: 5.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.4235, allocations: 351 kB / 0.6556 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004514/0.424, allocations: 202.8 kB / 0.6558 GB, free: 4.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4241, allocations: 357.9 kB / 0.6561 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.4258, allocations: 0.7326 MB / 0.6569 GB, free: 3.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.4277, allocations: 0.858 MB / 0.6577 GB, free: 2.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/0.4473, allocations: 4.85 MB / 0.6624 GB, free: 13.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4473, allocations: 0 / 0.6624 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01459/0.4619, allocations: 4.284 MB / 0.6666 GB, free: 9.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.462, allocations: 4 kB / 0.6666 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.462, allocations: 4 kB / 0.6666 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/0.4684, allocations: 1.722 MB / 0.6683 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4696, allocations: 231.7 kB / 0.6685 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.4918, allocations: 9.062 MB / 0.6774 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4934, allocations: 178.9 kB / 0.6776 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.4936, allocations: 39.98 kB / 0.6776 GB, free: 14.07 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.0005893/0.4942, allocations: 241.2 kB / 0.6778 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.4945, allocations: 126.4 kB / 0.6779 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.5086, allocations: 4.006 MB / 0.6819 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5086, allocations: 12 kB / 0.6819 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5086, allocations: 0 / 0.6819 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.5087, allocations: 3.984 kB / 0.6819 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.5248, allocations: 5.602 MB / 0.6873 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5249, allocations: 0 / 0.6873 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.5257, allocations: 135.8 kB / 0.6875 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006225/0.5319, allocations: 1.737 MB / 0.6892 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.5322, allocations: 16 kB / 0.6892 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.5519, allocations: 8.06 MB / 0.6971 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5519, allocations: 3.938 kB / 0.6971 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.5679, allocations: 4.956 MB / 0.7019 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.5683, allocations: 207.4 kB / 0.7021 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.5685, allocations: 16 kB / 0.7021 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5697, allocations: 107.9 kB / 0.7022 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/0.5705, allocations: 224.6 kB / 0.7024 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.5706, allocations: 23.98 kB / 0.7024 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008156/0.5714, allocations: 0.5969 MB / 0.703 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5714, allocations: 0 / 0.703 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001332/0.5728, allocations: 443.4 kB / 0.7035 GB, free: 3.227 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 (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.01583/0.5886, allocations: 5.537 MB / 0.7089 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007312/0.5959, allocations: 2.47 MB / 0.7113 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.596, allocations: 0 / 0.7113 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.6012, allocations: 1.61 MB / 0.7128 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6023, allocations: 88.36 kB / 0.7129 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/0.6424, allocations: 15.38 MB / 0.728 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.6432, allocations: 1.095 MB / 0.729 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004599/0.6437, allocations: 94.75 kB / 0.7291 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/0.6444, allocations: 443.3 kB / 0.7295 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.6444, allocations: 0 / 0.7295 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.7114, allocations: 34.95 MB / 0.7637 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.04, allocations: 2.5 kB / 0.7637 GB, free: 5.371 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)