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/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07639/0.07639, allocations: 12.21 MB / 27.48 MB, free: 0.9219 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.0006314/0.0006317, allocations: 99.52 kB / 31 MB, free: 4.531 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.197/1.197, allocations: 205.4 MB / 239.8 MB, free: 11.46 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.001066/0.001066, allocations: 192 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4882/0.4882, allocations: 78.53 MB / 420.5 MB, free: 48.54 MB / 334.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.0008765/0.0008765, allocations: 32 kB / 0.4902 GB, free: 2.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3315, allocations: 69.22 MB / 0.5578 GB, free: 43.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005512/0.3371, allocations: 6.394 MB / 0.564 GB, free: 40.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.3408, allocations: 1.877 MB / 0.5659 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.3417, allocations: 12.12 kB / 0.5659 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.3422, allocations: 175.6 kB / 0.5661 GB, free: 39.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.3439, allocations: 0.6186 MB / 0.5667 GB, free: 39.23 MB / 430.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.001323/0.3453, allocations: 0.5774 MB / 0.5672 GB, free: 38.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3468, allocations: 1.352 MB / 0.5685 GB, free: 38.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.3473, allocations: 292.2 kB / 0.5688 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.348, allocations: 0.5132 MB / 0.5693 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.3487, allocations: 0.6668 MB / 0.57 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3488, allocations: 57.05 kB / 0.57 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.3492, allocations: 174 kB / 0.5702 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.3494, allocations: 229.3 kB / 0.5704 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.3498, allocations: 0.5954 MB / 0.571 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009563/0.3508, allocations: 1.421 MB / 0.5724 GB, free: 36.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3508, allocations: 0 / 0.5724 GB, free: 36.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3508, allocations: 0 / 0.5724 GB, free: 36.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3508, allocations: 0 / 0.5724 GB, free: 36.43 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006798/0.3576, allocations: 2.396 MB / 0.5747 GB, free: 35.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3577, allocations: 11.64 kB / 0.5747 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.3579, allocations: 126.9 kB / 0.5749 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.3625, allocations: 0.7927 MB / 0.5756 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.3634, allocations: 0.7646 MB / 0.5764 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.3637, allocations: 266.2 kB / 0.5766 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.3638, allocations: 79.56 kB / 0.5767 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.3661, allocations: 1.186 MB / 0.5779 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3661, allocations: 0 / 0.5779 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.3662, allocations: 32.66 kB / 0.5779 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.3662, allocations: 16.97 kB / 0.5779 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3686, allocations: 1.244 MB / 0.5791 GB, free: 33.55 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.005095/0.3737, allocations: 3.535 MB / 0.5826 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.3756, allocations: 1.523 MB / 0.5841 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3771, allocations: 0.8808 MB / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.3772, allocations: 12.47 kB / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3773, allocations: 42.47 kB / 0.585 GB, free: 30.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/0.3773, allocations: 0 / 0.585 GB, free: 30.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02665/0.4039, allocations: 8.214 MB / 0.593 GB, free: 28.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.404, allocations: 62.25 kB / 0.5931 GB, free: 28.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4053, allocations: 0.888 MB / 0.5939 GB, free: 28.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.4055, allocations: 45.83 kB / 0.594 GB, free: 28.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.4057, allocations: 0.4972 MB / 0.5945 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.4061, allocations: 343.9 kB / 0.5948 GB, free: 27.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.4062, allocations: 104.9 kB / 0.5949 GB, free: 27.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.4063, allocations: 355.9 kB / 0.5952 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.4081, allocations: 0.8192 MB / 0.596 GB, free: 27.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.4099, allocations: 0.9599 MB / 0.597 GB, free: 26.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/0.4292, allocations: 5.414 MB / 0.6022 GB, free: 25.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.4293, allocations: 5.406 kB / 0.6022 GB, free: 25.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01504/0.4443, allocations: 5.223 MB / 0.6073 GB, free: 23.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4444, allocations: 6.219 kB / 0.6074 GB, free: 23.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4444, allocations: 3.344 kB / 0.6074 GB, free: 23.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/0.4505, allocations: 2.047 MB / 0.6094 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4516, allocations: 243.7 kB / 0.6096 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.4697, allocations: 9.333 MB / 0.6187 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4712, allocations: 222.9 kB / 0.6189 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.4713, allocations: 43.98 kB / 0.619 GB, free: 12.89 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 (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.0004544/0.4718, allocations: 237.7 kB / 0.6192 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4719, allocations: 122.5 kB / 0.6193 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.485, allocations: 4.959 MB / 0.6241 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.485, allocations: 8 kB / 0.6242 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.485, allocations: 0 / 0.6242 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.485, allocations: 15.91 kB / 0.6242 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.4993, allocations: 6.559 MB / 0.6306 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4994, allocations: 0 / 0.6306 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.5, allocations: 147.8 kB / 0.6307 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/0.5064, allocations: 2.054 MB / 0.6327 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.5065, allocations: 16 kB / 0.6327 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/0.5258, allocations: 8.208 MB / 0.6407 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5258, allocations: 0 / 0.6407 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.5429, allocations: 5.993 MB / 0.6466 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.5434, allocations: 203.4 kB / 0.6468 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.5436, allocations: 20.2 kB / 0.6468 GB, free: 0 / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.5448, allocations: 159.8 kB / 0.647 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006276/0.5455, allocations: 216.6 kB / 0.6472 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/0.5455, allocations: 20 kB / 0.6472 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008342/0.5464, allocations: 0.5969 MB / 0.6478 GB, free: 15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5464, allocations: 0 / 0.6478 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00131/0.5477, allocations: 447.4 kB / 0.6482 GB, free: 14.57 MB / 462.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 (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.01703/0.5647, allocations: 6.563 MB / 0.6546 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007306/0.5721, allocations: 2.772 MB / 0.6573 GB, free: 5.188 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5721, allocations: 0 / 0.6573 GB, free: 5.188 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005119/0.5772, allocations: 1.816 MB / 0.6591 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/0.5781, allocations: 82.47 kB / 0.6592 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/0.6208, allocations: 18.44 MB / 0.6772 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.6216, allocations: 1.099 MB / 0.6783 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.622, allocations: 90.77 kB / 0.6783 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.6225, allocations: 439.3 kB / 0.6788 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6226, allocations: 0 / 0.6788 GB, free: 14.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.6748, allocations: 29.96 MB / 0.708 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.675, allocations: 249.1 kB / 0.7083 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.163, allocations: 3.938 kB / 0.7083 GB, free: 0.6875 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)