Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.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 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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",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.0008242/0.0008245, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.382/1.382, allocations: 223.2 MB / 239 MB, free: 5.441 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.00124/0.00124, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4729/0.4729, allocations: 79.48 MB / 420.8 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 12 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 69.5 MB / 0.5571 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002523/0.4321, allocations: 2.454 MB / 0.5595 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4334, allocations: 0.8514 MB / 0.5603 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.4335, allocations: 4.812 kB / 0.5603 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.4337, allocations: 64.56 kB / 0.5604 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.4339, allocations: 106.2 kB / 0.5605 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.4347, allocations: 365.7 kB / 0.5608 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.4351, allocations: 381.1 kB / 0.5612 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.4352, allocations: 79.78 kB / 0.5613 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.4354, allocations: 140.4 kB / 0.5614 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.4357, allocations: 205.6 kB / 0.5616 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.4357, allocations: 20.22 kB / 0.5616 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.4359, allocations: 72 kB / 0.5617 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.4359, allocations: 64.64 kB / 0.5618 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.436, allocations: 80.92 kB / 0.5618 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.4364, allocations: 373.6 kB / 0.5622 GB, free: 36.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4364, allocations: 1.031 kB / 0.5622 GB, free: 36.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4364, allocations: 1.156 kB / 0.5622 GB, free: 36.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4364, allocations: 0 / 0.5622 GB, free: 36.88 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002431/0.4388, allocations: 0.9795 MB / 0.5631 GB, free: 36.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4389, allocations: 10.16 kB / 0.5632 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.439, allocations: 63.86 kB / 0.5632 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.4404, allocations: 258.1 kB / 0.5635 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4408, allocations: 337.5 kB / 0.5638 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.4409, allocations: 82.95 kB / 0.5639 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4409, allocations: 22.56 kB / 0.5639 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.4416, allocations: 396.4 kB / 0.5643 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4416, allocations: 4.516 kB / 0.5643 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.4417, allocations: 12.17 kB / 0.5643 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4417, allocations: 5.375 kB / 0.5643 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.4423, allocations: 386.4 kB / 0.5647 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4438, allocations: 1.05 MB / 0.5657 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005847/0.4497, allocations: 1.832 MB / 0.5675 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.4502, allocations: 285.9 kB / 0.5677 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.4502, allocations: 6.906 kB / 0.5677 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.4503, allocations: 42.53 kB / 0.5678 GB, free: 35.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.283e-06/0.4503, allocations: 0 / 0.5678 GB, free: 35.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005782/0.4561, allocations: 2.385 MB / 0.5701 GB, free: 35.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.4561, allocations: 62.2 kB / 0.5702 GB, free: 35.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.4564, allocations: 315.8 kB / 0.5705 GB, free: 34.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4564, allocations: 29.64 kB / 0.5705 GB, free: 34.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4566, allocations: 190.4 kB / 0.5707 GB, free: 34.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.4567, allocations: 106.7 kB / 0.5708 GB, free: 34.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4567, allocations: 3.938 kB / 0.5708 GB, free: 34.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.4568, allocations: 345.1 kB / 0.5711 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.4572, allocations: 243.3 kB / 0.5714 GB, free: 34.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.4576, allocations: 246.5 kB / 0.5716 GB, free: 34.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.4581, allocations: 254 kB / 0.5718 GB, free: 34.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4581, allocations: 0 / 0.5718 GB, free: 34.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003588/0.4617, allocations: 1.501 MB / 0.5733 GB, free: 34.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4617, allocations: 5.25 kB / 0.5733 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4617, allocations: 0 / 0.5733 GB, free: 34.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.4645, allocations: 0.884 MB / 0.5742 GB, free: 34.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.4646, allocations: 30.91 kB / 0.5742 GB, free: 34.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.4697, allocations: 3.054 MB / 0.5772 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.4701, allocations: 65.3 kB / 0.5772 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.4701, allocations: 8.812 kB / 0.5772 GB, free: 32.8 MB / 430.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4703, allocations: 148.5 kB / 0.5774 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.4704, allocations: 33.91 kB / 0.5774 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.474, allocations: 1.455 MB / 0.5788 GB, free: 32.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.474, allocations: 3.906 kB / 0.5788 GB, free: 32.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.474, allocations: 0.625 kB / 0.5788 GB, free: 32.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.474, allocations: 3.469 kB / 0.5788 GB, free: 32.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.4745, allocations: 0.5224 MB / 0.5794 GB, free: 32.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4746, allocations: 0 / 0.5794 GB, free: 32.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4747, allocations: 31.17 kB / 0.5794 GB, free: 32.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.4771, allocations: 0.8015 MB / 0.5802 GB, free: 32.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.4772, allocations: 8.688 kB / 0.5802 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/0.4811, allocations: 2.641 MB / 0.5828 GB, free: 30.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4811, allocations: 1.375 kB / 0.5828 GB, free: 30.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.4854, allocations: 1.828 MB / 0.5845 GB, free: 29.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.4855, allocations: 123.8 kB / 0.5847 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.4855, allocations: 9.266 kB / 0.5847 GB, free: 29.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.4859, allocations: 47.69 kB / 0.5847 GB, free: 29.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.4861, allocations: 86.31 kB / 0.5848 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.4862, allocations: 5.812 kB / 0.5848 GB, free: 29.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.4864, allocations: 234.6 kB / 0.585 GB, free: 29.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4864, allocations: 0 / 0.585 GB, free: 29.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005929/0.487, allocations: 135.9 kB / 0.5852 GB, free: 29.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004554/0.4916, allocations: 2.386 MB / 0.5875 GB, free: 28.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.4939, allocations: 1.086 MB / 0.5885 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.494, allocations: 0 / 0.5885 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.4955, allocations: 0.7993 MB / 0.5893 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4959, allocations: 38.7 kB / 0.5894 GB, free: 27.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.507, allocations: 3.834 MB / 0.5931 GB, free: 25.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5073, allocations: 0.7911 MB / 0.5939 GB, free: 25.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.5074, allocations: 25.38 kB / 0.5939 GB, free: 25.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.5075, allocations: 110.4 kB / 0.594 GB, free: 24.99 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5076, allocations: 0 / 0.594 GB, free: 24.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.5387, allocations: 10.18 MB / 0.604 GB, free: 24.54 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.5389, allocations: 228.3 kB / 0.6042 GB, free: 24.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.386, allocations: 0 / 0.6042 GB, free: 24.3 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: