Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.005657/0.005658, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.322/1.322, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001335/0.001336, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4402/0.4402, allocations: 78.53 MB / 418.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 87.81 kB / 0.5532 GB, free: 1.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3036, allocations: 68.16 MB / 0.6197 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005575/0.3092, allocations: 6.376 MB / 0.626 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3125, allocations: 1.849 MB / 0.6278 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009273/0.3134, allocations: 15.94 kB / 0.6278 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.3141, allocations: 222.1 kB / 0.628 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.3161, allocations: 0.7147 MB / 0.6287 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3173, allocations: 0.6046 MB / 0.6293 GB, free: 348 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3188, allocations: 1.405 MB / 0.6306 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.3192, allocations: 330.5 kB / 0.631 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.3199, allocations: 0.5795 MB / 0.6315 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.3206, allocations: 0.7233 MB / 0.6322 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3207, allocations: 100 kB / 0.6323 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3212, allocations: 243.8 kB / 0.6326 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.3214, allocations: 278.8 kB / 0.6328 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.3218, allocations: 0.6135 MB / 0.6334 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3232, allocations: 1.498 MB / 0.6349 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3233, allocations: 3.938 kB / 0.6349 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3233, allocations: 0 / 0.6349 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3233, allocations: 0 / 0.6349 GB, free: 10.56 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007662/0.331, allocations: 2.553 MB / 0.6374 GB, free: 7.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.331, allocations: 8.031 kB / 0.6374 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.3312, allocations: 126.8 kB / 0.6375 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.336, allocations: 0.7749 MB / 0.6383 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3373, allocations: 0.7606 MB / 0.639 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.3376, allocations: 264.1 kB / 0.6393 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3378, allocations: 76 kB / 0.6393 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.3401, allocations: 1.077 MB / 0.6404 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3401, allocations: 3.938 kB / 0.6404 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.3402, allocations: 36 kB / 0.6404 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.3403, allocations: 20 kB / 0.6404 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.3428, allocations: 1.117 MB / 0.6415 GB, free: 3.582 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.005743/0.3486, allocations: 3.42 MB / 0.6449 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.3509, allocations: 1.415 MB / 0.6463 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.3525, allocations: 0.7774 MB / 0.647 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.3527, allocations: 12.98 kB / 0.647 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3527, allocations: 47.56 kB / 0.6471 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.294e-06/0.3527, allocations: 0 / 0.6471 GB, free: 13.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02698/0.3797, allocations: 6.746 MB / 0.6537 GB, free: 6.848 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3798, allocations: 60.41 kB / 0.6537 GB, free: 6.773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.3811, allocations: 0.8837 MB / 0.6546 GB, free: 5.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.3813, allocations: 45.7 kB / 0.6546 GB, free: 5.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.3817, allocations: 492.7 kB / 0.6551 GB, free: 5.332 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.3822, allocations: 343.1 kB / 0.6554 GB, free: 4.992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.3827, allocations: 198.8 kB / 0.6556 GB, free: 4.789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3828, allocations: 349.9 kB / 0.6559 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.3845, allocations: 0.7131 MB / 0.6566 GB, free: 3.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.3863, allocations: 0.8384 MB / 0.6575 GB, free: 2.859 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.4048, allocations: 4.787 MB / 0.6621 GB, free: 14.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4048, allocations: 0 / 0.6621 GB, free: 14.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01424/0.4191, allocations: 4.257 MB / 0.6663 GB, free: 9.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4191, allocations: 6.344 kB / 0.6663 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4192, allocations: 4 kB / 0.6663 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.4256, allocations: 1.862 MB / 0.6681 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4267, allocations: 211.6 kB / 0.6683 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.4489, allocations: 9.078 MB / 0.6772 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4503, allocations: 174.9 kB / 0.6774 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.4506, allocations: 43.98 kB / 0.6774 GB, free: 14.23 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0005241/0.4511, allocations: 229.7 kB / 0.6776 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.4514, allocations: 126.5 kB / 0.6777 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.4649, allocations: 4.002 MB / 0.6816 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.465, allocations: 12 kB / 0.6817 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.465, allocations: 3.938 kB / 0.6817 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.465, allocations: 7.922 kB / 0.6817 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.4805, allocations: 5.61 MB / 0.6872 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.4806, allocations: 4 kB / 0.6872 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.4813, allocations: 135.7 kB / 0.6873 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006069/0.4874, allocations: 1.745 MB / 0.689 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/0.4876, allocations: 16 kB / 0.689 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.5073, allocations: 8.072 MB / 0.6969 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5073, allocations: 0 / 0.6969 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.5232, allocations: 4.964 MB / 0.7017 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.5238, allocations: 199.4 kB / 0.7019 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.5241, allocations: 16 kB / 0.7019 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5254, allocations: 111.9 kB / 0.702 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007842/0.5262, allocations: 220.6 kB / 0.7023 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.5263, allocations: 23.98 kB / 0.7023 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008607/0.5272, allocations: 0.5927 MB / 0.7029 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5272, allocations: 0 / 0.7029 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001426/0.5286, allocations: 435.5 kB / 0.7033 GB, free: 3.375 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01636/0.545, allocations: 5.541 MB / 0.7087 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00756/0.5526, allocations: 2.472 MB / 0.7111 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5526, allocations: 0.5625 kB / 0.7111 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.5578, allocations: 1.599 MB / 0.7127 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5589, allocations: 89.92 kB / 0.7127 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/0.5986, allocations: 15.1 MB / 0.7275 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.5993, allocations: 1.088 MB / 0.7286 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.5998, allocations: 94.67 kB / 0.7287 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.6005, allocations: 443.3 kB / 0.7291 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of SimCode: time 7.12e-07/0.6005, allocations: 0 / 0.7291 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.6665, allocations: 34.64 MB / 0.7629 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/16.96, allocations: 14.58 kB / 0.7629 GB, free: 6.125 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)