Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 181.4 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239.4 MB, free: 1.629 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008323/0.0008321, allocations: 101.9 kB / 290.6 MB, free: 13.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.502/0.502, allocations: 78.62 MB / 420.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 12.38 kB / 0.4889 GB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3841, allocations: 69.34 MB / 0.5566 GB, free: 39.02 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005456/0.3896, allocations: 6.35 MB / 0.5628 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.3939, allocations: 1.906 MB / 0.5647 GB, free: 35.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.3952, allocations: 17 kB / 0.5647 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.3959, allocations: 171.2 kB / 0.5648 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.3978, allocations: 0.6255 MB / 0.5654 GB, free: 35.05 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001503/0.3993, allocations: 0.5726 MB / 0.566 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.4011, allocations: 1.355 MB / 0.5673 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.4016, allocations: 292.3 kB / 0.5676 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007612/0.4024, allocations: 0.52 MB / 0.5681 GB, free: 34.03 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.403, allocations: 0.6615 MB / 0.5688 GB, free: 33.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.4031, allocations: 57.05 kB / 0.5688 GB, free: 33.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.4036, allocations: 181.8 kB / 0.569 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.4038, allocations: 228.2 kB / 0.5692 GB, free: 33.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.4042, allocations: 0.5889 MB / 0.5698 GB, free: 33.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4053, allocations: 1.43 MB / 0.5712 GB, free: 32.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4054, allocations: 4 kB / 0.5712 GB, free: 32.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4054, allocations: 0 / 0.5712 GB, free: 32.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4054, allocations: 0 / 0.5712 GB, free: 32.58 MB / 426.7 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.006633/0.412, allocations: 2.393 MB / 0.5735 GB, free: 31.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4121, allocations: 8.906 kB / 0.5735 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.4123, allocations: 128 kB / 0.5736 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.4168, allocations: 0.7899 MB / 0.5744 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.418, allocations: 0.759 MB / 0.5752 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.4183, allocations: 275.4 kB / 0.5754 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.4185, allocations: 80.34 kB / 0.5755 GB, free: 30.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.4205, allocations: 1.17 MB / 0.5766 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4206, allocations: 3.094 kB / 0.5766 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.4206, allocations: 29.97 kB / 0.5767 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.4207, allocations: 20.28 kB / 0.5767 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.423, allocations: 1.246 MB / 0.5779 GB, free: 29.71 MB / 426.7 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.004937/0.4279, allocations: 3.535 MB / 0.5814 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.4298, allocations: 1.524 MB / 0.5828 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.4312, allocations: 0.8753 MB / 0.5837 GB, free: 26.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.4313, allocations: 17.16 kB / 0.5837 GB, free: 26.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4314, allocations: 49.19 kB / 0.5838 GB, free: 26.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.765e-06/0.4314, allocations: 0 / 0.5838 GB, free: 26.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02451/0.4559, allocations: 8.207 MB / 0.5918 GB, free: 24.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.456, allocations: 66.78 kB / 0.5918 GB, free: 24.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4572, allocations: 0.8944 MB / 0.5927 GB, free: 24.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.4574, allocations: 44.45 kB / 0.5928 GB, free: 24.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.4577, allocations: 495.3 kB / 0.5932 GB, free: 24.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.458, allocations: 353 kB / 0.5936 GB, free: 23.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.4581, allocations: 103.5 kB / 0.5937 GB, free: 23.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.4582, allocations: 356.6 kB / 0.594 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.4599, allocations: 0.8235 MB / 0.5948 GB, free: 23.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4616, allocations: 0.9541 MB / 0.5957 GB, free: 22.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.4797, allocations: 5.419 MB / 0.601 GB, free: 21.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4797, allocations: 1.312 kB / 0.601 GB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01488/0.4946, allocations: 5.221 MB / 0.6061 GB, free: 20.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4947, allocations: 9.656 kB / 0.6061 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4947, allocations: 2.172 kB / 0.6061 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006309/0.501, allocations: 2.043 MB / 0.6081 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5023, allocations: 240.1 kB / 0.6084 GB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.5205, allocations: 9.341 MB / 0.6175 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5221, allocations: 226.8 kB / 0.6177 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5222, allocations: 43.98 kB / 0.6178 GB, free: 11.08 MB / 426.7 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.000459/0.5227, allocations: 233.7 kB / 0.618 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.5229, allocations: 122.5 kB / 0.6181 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.5349, allocations: 4.959 MB / 0.6229 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5349, allocations: 12 kB / 0.6229 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5349, allocations: 0 / 0.6229 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.535, allocations: 3.984 kB / 0.6229 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.5488, allocations: 6.551 MB / 0.6293 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5489, allocations: 0 / 0.6293 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.5496, allocations: 147.8 kB / 0.6295 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005882/0.5555, allocations: 2.05 MB / 0.6315 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.5557, allocations: 23.94 kB / 0.6315 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.5726, allocations: 8.214 MB / 0.6395 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5726, allocations: 3.938 kB / 0.6395 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.5878, allocations: 5.989 MB / 0.6454 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.5884, allocations: 199.4 kB / 0.6456 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.5886, allocations: 27.92 kB / 0.6456 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/0.5896, allocations: 151.9 kB / 0.6457 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006846/0.5903, allocations: 216.6 kB / 0.646 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.5904, allocations: 24 kB / 0.646 GB, free: 13.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006993/0.5911, allocations: 0.5969 MB / 0.6466 GB, free: 13.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5911, allocations: 0 / 0.6466 GB, free: 13.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001171/0.5923, allocations: 435.5 kB / 0.647 GB, free: 12.79 MB / 458.7 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.0155/0.6078, allocations: 6.58 MB / 0.6534 GB, free: 6.168 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006735/0.6146, allocations: 2.764 MB / 0.6561 GB, free: 3.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6146, allocations: 0 / 0.6561 GB, free: 3.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.6193, allocations: 1.81 MB / 0.6579 GB, free: 1.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.6202, allocations: 84.41 kB / 0.658 GB, free: 1.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03938/0.6596, allocations: 18.44 MB / 0.676 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.6603, allocations: 1.103 MB / 0.677 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.6608, allocations: 90.75 kB / 0.6771 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.6614, allocations: 439.3 kB / 0.6775 GB, free: 13 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6614, allocations: 0 / 0.6775 GB, free: 13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.7103, allocations: 29.95 MB / 0.7068 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/0.7107, allocations: 239.2 kB / 0.707 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/3.661, allocations: 0 / 0.707 GB, free: 14.98 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)