Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001573/0.001573, allocations: 192.3 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5457/0.5457, allocations: 78.53 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 79.88 kB / 497.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2244, allocations: 68.18 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.3685/0.5929, allocations: 2.767 MB / 0.5552 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.5949, allocations: 0.9037 MB / 0.5561 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.5951, allocations: 4.094 kB / 0.5561 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.5954, allocations: 88.05 kB / 0.5561 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.5958, allocations: 120.3 kB / 0.5563 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.5968, allocations: 455.7 kB / 0.5567 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.5973, allocations: 421.9 kB / 0.5571 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.5976, allocations: 87.14 kB / 0.5572 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.5978, allocations: 167.5 kB / 0.5573 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.5982, allocations: 230.1 kB / 0.5576 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.5983, allocations: 34 kB / 0.5576 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.5985, allocations: 93.8 kB / 0.5577 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.5986, allocations: 87.17 kB / 0.5578 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.5988, allocations: 187.3 kB / 0.5579 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.5994, allocations: 489.7 kB / 0.5584 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.5994, allocations: 3.812 kB / 0.5584 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5994, allocations: 2.344 kB / 0.5584 GB, free: 37.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.5994, allocations: 2.469 kB / 0.5584 GB, free: 37.21 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.003256/0.6027, allocations: 1.02 MB / 0.5594 GB, free: 36.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.6027, allocations: 10.59 kB / 0.5594 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.6028, allocations: 63.78 kB / 0.5595 GB, free: 36.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6044, allocations: 255 kB / 0.5597 GB, free: 36.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.6049, allocations: 351.8 kB / 0.5601 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.605, allocations: 88 kB / 0.5602 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.6051, allocations: 24.44 kB / 0.5602 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.6059, allocations: 367.5 kB / 0.5605 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.6059, allocations: 3.188 kB / 0.5605 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.6059, allocations: 9.312 kB / 0.5605 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6059, allocations: 3.719 kB / 0.5605 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.6067, allocations: 363.8 kB / 0.5609 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.6086, allocations: 1.031 MB / 0.5619 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/0.6152, allocations: 1.354 MB / 0.5632 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.6158, allocations: 263.2 kB / 0.5635 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.6159, allocations: 8.328 kB / 0.5635 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.616, allocations: 44.33 kB / 0.5635 GB, free: 35.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.616, allocations: 0 / 0.5635 GB, free: 35.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006576/0.6225, allocations: 1.979 MB / 0.5655 GB, free: 35.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6226, allocations: 57.61 kB / 0.5655 GB, free: 35.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.623, allocations: 319.4 kB / 0.5658 GB, free: 35.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.623, allocations: 29.58 kB / 0.5658 GB, free: 35.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.6232, allocations: 189.8 kB / 0.566 GB, free: 35.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6233, allocations: 103.7 kB / 0.5661 GB, free: 35.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.6234, allocations: 55.5 kB / 0.5662 GB, free: 35.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.6235, allocations: 350.7 kB / 0.5665 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.624, allocations: 216 kB / 0.5667 GB, free: 34.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.6244, allocations: 220.7 kB / 0.5669 GB, free: 34.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/0.6253, allocations: 475.9 kB / 0.5674 GB, free: 34.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6254, allocations: 0.5 kB / 0.5674 GB, free: 34.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004004/0.6294, allocations: 1.256 MB / 0.5686 GB, free: 34.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6294, allocations: 9.016 kB / 0.5686 GB, free: 34.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6294, allocations: 0 / 0.5686 GB, free: 34.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.6325, allocations: 0.7586 MB / 0.5694 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.6327, allocations: 32.53 kB / 0.5694 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.6382, allocations: 3.137 MB / 0.5724 GB, free: 33.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6388, allocations: 52.27 kB / 0.5725 GB, free: 33.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.6388, allocations: 8.453 kB / 0.5725 GB, free: 33.18 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 (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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.639, allocations: 152.1 kB / 0.5727 GB, free: 33.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.6391, allocations: 36.88 kB / 0.5727 GB, free: 33.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.6429, allocations: 1.208 MB / 0.5739 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6429, allocations: 2.906 kB / 0.5739 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.6429, allocations: 2.812 kB / 0.5739 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6429, allocations: 5.5 kB / 0.5739 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.6435, allocations: 0.5167 MB / 0.5744 GB, free: 32.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6436, allocations: 7.875 kB / 0.5744 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.6438, allocations: 31.77 kB / 0.5744 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.6464, allocations: 0.6745 MB / 0.5751 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.6464, allocations: 7.297 kB / 0.5751 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/0.6505, allocations: 2.681 MB / 0.5777 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6506, allocations: 0 / 0.5777 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/0.6551, allocations: 1.573 MB / 0.5792 GB, free: 30.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.6553, allocations: 117.9 kB / 0.5794 GB, free: 30.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.6553, allocations: 5.281 kB / 0.5794 GB, free: 30.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.6558, allocations: 44.56 kB / 0.5794 GB, free: 30.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.656, allocations: 82.28 kB / 0.5795 GB, free: 30.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.6561, allocations: 15.81 kB / 0.5795 GB, free: 30.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.6564, allocations: 226.2 kB / 0.5797 GB, free: 30.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6564, allocations: 0 / 0.5797 GB, free: 30.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006876/0.6571, allocations: 137.6 kB / 0.5798 GB, free: 30.58 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 (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.004832/0.6619, allocations: 2.129 MB / 0.5819 GB, free: 29.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.6646, allocations: 1.002 MB / 0.5829 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6647, allocations: 5.312 kB / 0.5829 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.6664, allocations: 0.714 MB / 0.5836 GB, free: 28.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.6669, allocations: 27.47 kB / 0.5836 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.6846, allocations: 5.658 MB / 0.5892 GB, free: 25.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.685, allocations: 0.7894 MB / 0.5899 GB, free: 25.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.6851, allocations: 21.03 kB / 0.5899 GB, free: 25.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.6853, allocations: 108.1 kB / 0.59 GB, free: 25.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6853, allocations: 3.938 kB / 0.59 GB, free: 25.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.7311, allocations: 11.36 MB / 0.6011 GB, free: 23.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.59, allocations: 5.062 kB / 0.6012 GB, free: 23.98 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)