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.005469/0.005469, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.34/1.34, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001522/0.001522, allocations: 188.4 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.4357/0.4357, allocations: 78.54 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.88 kB / 0.5532 GB, free: 1.461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3241, allocations: 68.16 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005095/0.3292, allocations: 6.489 MB / 0.6261 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.3319, allocations: 1.876 MB / 0.6279 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.3323, allocations: 8 kB / 0.6279 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.3327, allocations: 230 kB / 0.6281 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.334, allocations: 0.762 MB / 0.6289 GB, free: 0.7656 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.000975/0.335, allocations: 0.6083 MB / 0.6295 GB, free: 168 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3363, allocations: 1.433 MB / 0.6309 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.3367, allocations: 334.6 kB / 0.6312 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.3374, allocations: 0.5873 MB / 0.6317 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.3381, allocations: 0.731 MB / 0.6325 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.3383, allocations: 108 kB / 0.6326 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.3387, allocations: 235.9 kB / 0.6328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.3389, allocations: 282.7 kB / 0.6331 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.3394, allocations: 0.6213 MB / 0.6337 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3408, allocations: 1.53 MB / 0.6352 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3408, allocations: 0 / 0.6352 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3408, allocations: 0 / 0.6352 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3408, allocations: 0 / 0.6352 GB, free: 10.29 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.007468/0.3483, allocations: 2.564 MB / 0.6377 GB, free: 7.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3484, allocations: 8.031 kB / 0.6377 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.3485, allocations: 126.8 kB / 0.6378 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.3534, allocations: 0.7749 MB / 0.6385 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.3546, allocations: 0.7802 MB / 0.6393 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.3548, allocations: 256.2 kB / 0.6396 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.355, allocations: 83.94 kB / 0.6396 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.3572, allocations: 1.081 MB / 0.6407 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3572, allocations: 0 / 0.6407 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.3573, allocations: 32 kB / 0.6407 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3573, allocations: 16 kB / 0.6407 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/0.3597, allocations: 1.128 MB / 0.6418 GB, free: 3.281 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.005381/0.3651, allocations: 3.444 MB / 0.6452 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.3671, allocations: 1.427 MB / 0.6466 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.3686, allocations: 0.7852 MB / 0.6474 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3688, allocations: 16.91 kB / 0.6474 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3688, allocations: 51.48 kB / 0.6474 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.474e-06/0.3688, allocations: 0 / 0.6474 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02389/0.3927, allocations: 6.609 MB / 0.6539 GB, free: 6.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3928, allocations: 64.41 kB / 0.6539 GB, free: 6.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3939, allocations: 0.8845 MB / 0.6548 GB, free: 5.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.394, allocations: 45.7 kB / 0.6548 GB, free: 5.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.3944, allocations: 0.4967 MB / 0.6553 GB, free: 5.098 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3947, allocations: 343.1 kB / 0.6557 GB, free: 4.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.3952, allocations: 206.8 kB / 0.6559 GB, free: 4.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3953, allocations: 357.9 kB / 0.6562 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.3969, allocations: 0.7287 MB / 0.6569 GB, free: 3.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3985, allocations: 0.858 MB / 0.6577 GB, free: 2.574 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/0.4164, allocations: 4.85 MB / 0.6625 GB, free: 13.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4164, allocations: 4 kB / 0.6625 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01276/0.4292, allocations: 4.277 MB / 0.6667 GB, free: 9.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4292, allocations: 8 kB / 0.6667 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4293, allocations: 0 / 0.6667 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005621/0.4349, allocations: 1.726 MB / 0.6684 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.436, allocations: 231.7 kB / 0.6686 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.4559, allocations: 9.062 MB / 0.6774 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4574, allocations: 178.9 kB / 0.6776 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.4575, allocations: 43.98 kB / 0.6776 GB, free: 14 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.0004793/0.458, allocations: 237 kB / 0.6779 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.4583, allocations: 122.4 kB / 0.678 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.4705, allocations: 4.014 MB / 0.6819 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4706, allocations: 8 kB / 0.6819 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4706, allocations: 0 / 0.6819 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4706, allocations: 3.984 kB / 0.6819 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.4844, allocations: 5.61 MB / 0.6874 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4845, allocations: 0 / 0.6874 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.4851, allocations: 123.9 kB / 0.6875 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/0.4907, allocations: 1.737 MB / 0.6892 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.4909, allocations: 19.98 kB / 0.6892 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.5089, allocations: 8.056 MB / 0.6971 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.509, allocations: 4 kB / 0.6971 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.5233, allocations: 4.96 MB / 0.7019 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.5237, allocations: 203.4 kB / 0.7021 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.5239, allocations: 16 kB / 0.7022 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.525, allocations: 111.9 kB / 0.7023 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007136/0.5258, allocations: 220.7 kB / 0.7025 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.5258, allocations: 23.94 kB / 0.7025 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008002/0.5267, allocations: 0.593 MB / 0.7031 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.383e-06/0.5267, allocations: 0 / 0.7031 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001263/0.5279, allocations: 451.3 kB / 0.7035 GB, free: 3.152 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.01449/0.5424, allocations: 5.526 MB / 0.7089 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006368/0.5488, allocations: 2.482 MB / 0.7113 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5488, allocations: 3.938 kB / 0.7113 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/0.5533, allocations: 1.601 MB / 0.7129 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.5541, allocations: 92.36 kB / 0.713 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/0.5901, allocations: 15.37 MB / 0.728 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.5908, allocations: 1.099 MB / 0.7291 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003553/0.5911, allocations: 90.77 kB / 0.7291 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/0.5917, allocations: 451.3 kB / 0.7296 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.5917, allocations: 0 / 0.7296 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06471/0.6564, allocations: 33.55 MB / 0.7623 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.22, allocations: 4 kB / 0.7624 GB, free: 6.699 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)