Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",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.1366/0.1366, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001084/0.001084, allocations: 120.4 kB / 30.95 MB, free: 4.664 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.57/1.57, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001478/0.001478, allocations: 196.1 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4871/0.4871, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.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.002555/0.002555, allocations: 135.8 kB / 498.5 MB, free: 452 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4867, allocations: 68.03 MB / 0.5533 GB, free: 37.74 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.004435/0.4912, allocations: 3.219 MB / 0.5564 GB, free: 35.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4929, allocations: 1.02 MB / 0.5574 GB, free: 34.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.4931, allocations: 6.875 kB / 0.5574 GB, free: 34.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.4934, allocations: 77.98 kB / 0.5575 GB, free: 34.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.4937, allocations: 122.6 kB / 0.5576 GB, free: 34.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.4947, allocations: 442.3 kB / 0.558 GB, free: 34.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.4954, allocations: 0.5299 MB / 0.5585 GB, free: 34.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.4957, allocations: 99.36 kB / 0.5586 GB, free: 33.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.4959, allocations: 222 kB / 0.5588 GB, free: 33.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.4962, allocations: 303.6 kB / 0.5591 GB, free: 33.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.4963, allocations: 45.81 kB / 0.5592 GB, free: 33.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.4965, allocations: 99.59 kB / 0.5593 GB, free: 33.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.4966, allocations: 119 kB / 0.5594 GB, free: 33.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.4968, allocations: 235.5 kB / 0.5596 GB, free: 33.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.4973, allocations: 0.5877 MB / 0.5602 GB, free: 33.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.4974, allocations: 0 / 0.5602 GB, free: 33.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4974, allocations: 0 / 0.5602 GB, free: 33.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4974, allocations: 0 / 0.5602 GB, free: 33.22 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003281/0.5007, allocations: 1.16 MB / 0.5613 GB, free: 32.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.5007, allocations: 12.36 kB / 0.5613 GB, free: 32.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.291e-05/0.5008, allocations: 64.81 kB / 0.5614 GB, free: 32.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.5024, allocations: 269.9 kB / 0.5616 GB, free: 32.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.5029, allocations: 426.3 kB / 0.5621 GB, free: 32.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.503, allocations: 91.41 kB / 0.5621 GB, free: 32.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.5031, allocations: 25.5 kB / 0.5622 GB, free: 32.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.5039, allocations: 407 kB / 0.5626 GB, free: 31.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5039, allocations: 0 / 0.5626 GB, free: 31.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.504, allocations: 12 kB / 0.5626 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.504, allocations: 8.281 kB / 0.5626 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.5047, allocations: 394 kB / 0.5629 GB, free: 31.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.5065, allocations: 1.124 MB / 0.564 GB, free: 31.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.5129, allocations: 1.371 MB / 0.5654 GB, free: 30.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.5134, allocations: 282.4 kB / 0.5657 GB, free: 30.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.5134, allocations: 10.86 kB / 0.5657 GB, free: 30.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5135, allocations: 38.5 kB / 0.5657 GB, free: 30.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.5135, allocations: 2.438 kB / 0.5657 GB, free: 30.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.005851/0.5193, allocations: 1.982 MB / 0.5676 GB, free: 30.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.5194, allocations: 60.34 kB / 0.5677 GB, free: 29.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.5199, allocations: 423.9 kB / 0.5681 GB, free: 29.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.5199, allocations: 32.17 kB / 0.5681 GB, free: 29.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5201, allocations: 209.1 kB / 0.5683 GB, free: 29.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5202, allocations: 134 kB / 0.5685 GB, free: 29.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.5203, allocations: 58.25 kB / 0.5685 GB, free: 29.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.5204, allocations: 352 kB / 0.5689 GB, free: 29.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.521, allocations: 239 kB / 0.5691 GB, free: 28.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.5214, allocations: 254.5 kB / 0.5693 GB, free: 28.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009621/0.5224, allocations: 0.5012 MB / 0.5698 GB, free: 28.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5224, allocations: 0 / 0.5698 GB, free: 28.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004097/0.5265, allocations: 1.368 MB / 0.5711 GB, free: 28.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5266, allocations: 12.66 kB / 0.5712 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5266, allocations: 0 / 0.5712 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/0.5299, allocations: 0.8874 MB / 0.572 GB, free: 28.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.5301, allocations: 39.77 kB / 0.5721 GB, free: 28.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/0.5371, allocations: 3.383 MB / 0.5754 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.5378, allocations: 53.94 kB / 0.5754 GB, free: 25.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.5378, allocations: 12.53 kB / 0.5754 GB, free: 25.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.5382, allocations: 150.4 kB / 0.5756 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5383, allocations: 39.38 kB / 0.5756 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.543, allocations: 1.233 MB / 0.5768 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.543, allocations: 7.469 kB / 0.5768 GB, free: 25.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5431, allocations: 2.25 kB / 0.5768 GB, free: 25.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5431, allocations: 2.062 kB / 0.5768 GB, free: 25.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.544, allocations: 0.5567 MB / 0.5774 GB, free: 24.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.544, allocations: 2.328 kB / 0.5774 GB, free: 24.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.5443, allocations: 43.2 kB / 0.5774 GB, free: 24.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.5467, allocations: 0.6279 MB / 0.578 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.5467, allocations: 10.69 kB / 0.578 GB, free: 24.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.5509, allocations: 2.548 MB / 0.5805 GB, free: 23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5509, allocations: 2.047 kB / 0.5805 GB, free: 23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.5556, allocations: 1.603 MB / 0.5821 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.5558, allocations: 126.7 kB / 0.5822 GB, free: 22.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.5559, allocations: 7.5 kB / 0.5822 GB, free: 22.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.5564, allocations: 34.84 kB / 0.5823 GB, free: 22.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.5567, allocations: 91.75 kB / 0.5823 GB, free: 22.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.5567, allocations: 11.05 kB / 0.5824 GB, free: 22.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.5572, allocations: 309.2 kB / 0.5826 GB, free: 22.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5572, allocations: 0 / 0.5826 GB, free: 22.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000737/0.5579, allocations: 154.7 kB / 0.5828 GB, free: 22.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005438/0.5634, allocations: 2.157 MB / 0.5849 GB, free: 20.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.5672, allocations: 1.147 MB / 0.586 GB, free: 20.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5673, allocations: 0 / 0.586 GB, free: 20.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.5694, allocations: 0.7408 MB / 0.5867 GB, free: 19.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.5699, allocations: 32.33 kB / 0.5868 GB, free: 19.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.5845, allocations: 6.265 MB / 0.5929 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.5849, allocations: 0.8212 MB / 0.5937 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.5851, allocations: 28.81 kB / 0.5937 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.5853, allocations: 140.7 kB / 0.5939 GB, free: 15.01 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5853, allocations: 0 / 0.5939 GB, free: 15.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.6143, allocations: 12.36 MB / 0.6059 GB, free: 4.207 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6146, allocations: 255.7 kB / 0.6062 GB, free: 3.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.898, allocations: 0 / 0.6062 GB, free: 3.949 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)