Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009368, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.473/1.473, allocations: 223.3 MB / 239.4 MB, free: 5.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.001209/0.001209, allocations: 172.6 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5725/0.5725, allocations: 91.93 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 12 kB / 0.5049 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4485, allocations: 72.47 MB / 0.5756 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.0038/0.4524, allocations: 2.848 MB / 0.5784 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.4545, allocations: 0.9675 MB / 0.5794 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.4547, allocations: 6.125 kB / 0.5794 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.4551, allocations: 84.36 kB / 0.5795 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.4555, allocations: 127.6 kB / 0.5796 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.4566, allocations: 429.6 kB / 0.58 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.4572, allocations: 0.507 MB / 0.5805 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.4575, allocations: 82.12 kB / 0.5806 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.4578, allocations: 200.1 kB / 0.5808 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.4582, allocations: 272.6 kB / 0.581 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.4583, allocations: 25.44 kB / 0.581 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.4585, allocations: 75.05 kB / 0.5811 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.4586, allocations: 94.11 kB / 0.5812 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.4588, allocations: 242.3 kB / 0.5814 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.4594, allocations: 0.5572 MB / 0.582 GB, free: 33.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4594, allocations: 0.875 kB / 0.582 GB, free: 33.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4594, allocations: 0 / 0.582 GB, free: 33.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4594, allocations: 1.562 kB / 0.582 GB, free: 33.24 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.004411/0.4638, allocations: 1.1 MB / 0.5831 GB, free: 32.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4639, allocations: 10.25 kB / 0.5831 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.464, allocations: 69.61 kB / 0.5831 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.4668, allocations: 273.3 kB / 0.5834 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.4675, allocations: 419.2 kB / 0.5838 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.4677, allocations: 93.12 kB / 0.5839 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.4678, allocations: 31.5 kB / 0.5839 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.469, allocations: 441.4 kB / 0.5843 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.469, allocations: 0.75 kB / 0.5843 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.4691, allocations: 10.38 kB / 0.5843 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4691, allocations: 7.594 kB / 0.5843 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.4702, allocations: 412 kB / 0.5847 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.4728, allocations: 1.159 MB / 0.5859 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.4831, allocations: 1.839 MB / 0.5877 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009402/0.4841, allocations: 307.8 kB / 0.588 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.4841, allocations: 8.312 kB / 0.588 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4842, allocations: 43.66 kB / 0.588 GB, free: 30.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/0.4842, allocations: 0 / 0.588 GB, free: 30.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.01017/0.4944, allocations: 2.389 MB / 0.5903 GB, free: 30 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.4944, allocations: 59.28 kB / 0.5904 GB, free: 29.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.4953, allocations: 425.5 kB / 0.5908 GB, free: 29.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.4954, allocations: 31.98 kB / 0.5908 GB, free: 29.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.4956, allocations: 206.2 kB / 0.591 GB, free: 29.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4957, allocations: 127.3 kB / 0.5912 GB, free: 29.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.4958, allocations: 37.97 kB / 0.5912 GB, free: 29.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4959, allocations: 350.1 kB / 0.5915 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000891/0.4969, allocations: 260.9 kB / 0.5918 GB, free: 28.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.4977, allocations: 266.7 kB / 0.592 GB, free: 28.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.4995, allocations: 0.564 MB / 0.5926 GB, free: 28.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4995, allocations: 0 / 0.5926 GB, free: 28.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.007408/0.5069, allocations: 1.605 MB / 0.5941 GB, free: 28.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.507, allocations: 9 kB / 0.5942 GB, free: 28.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.507, allocations: 1 kB / 0.5942 GB, free: 28.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005712/0.5127, allocations: 1.016 MB / 0.5951 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.5131, allocations: 36.83 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.5205, allocations: 3.289 MB / 0.5984 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.5211, allocations: 61.81 kB / 0.5985 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.5212, allocations: 14.52 kB / 0.5985 GB, free: 25.98 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 (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.0002218/0.5214, allocations: 160.2 kB / 0.5986 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.5215, allocations: 39.25 kB / 0.5987 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.526, allocations: 1.469 MB / 0.6001 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.526, allocations: 4.094 kB / 0.6001 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.526, allocations: 2.438 kB / 0.6001 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.526, allocations: 1.828 kB / 0.6001 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.5267, allocations: 0.5452 MB / 0.6006 GB, free: 25.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5267, allocations: 5.156 kB / 0.6006 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.527, allocations: 43.83 kB / 0.6007 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.5296, allocations: 0.757 MB / 0.6014 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.5296, allocations: 7.641 kB / 0.6014 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/0.5339, allocations: 2.529 MB / 0.6039 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5339, allocations: 0 / 0.6039 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.5391, allocations: 1.872 MB / 0.6057 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.5393, allocations: 130.6 kB / 0.6058 GB, free: 22.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.5393, allocations: 8.531 kB / 0.6059 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.5398, allocations: 51.02 kB / 0.6059 GB, free: 22.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.5401, allocations: 89.2 kB / 0.606 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.5402, allocations: 11.36 kB / 0.606 GB, free: 22.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004116/0.5406, allocations: 309 kB / 0.6063 GB, free: 22.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5406, allocations: 0 / 0.6063 GB, free: 22.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.5413, allocations: 148 kB / 0.6064 GB, free: 22.23 MB / 430.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.005462/0.5467, allocations: 2.43 MB / 0.6088 GB, free: 21.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.5502, allocations: 1.233 MB / 0.61 GB, free: 20.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5502, allocations: 0 / 0.61 GB, free: 20.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.5522, allocations: 0.8223 MB / 0.6108 GB, free: 20 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.5527, allocations: 39.97 kB / 0.6109 GB, free: 19.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.568, allocations: 6.843 MB / 0.6175 GB, free: 16.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5684, allocations: 0.8177 MB / 0.6183 GB, free: 16.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000173/0.5686, allocations: 28.86 kB / 0.6184 GB, free: 16.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.5689, allocations: 143.2 kB / 0.6185 GB, free: 15.93 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5689, allocations: 0 / 0.6185 GB, free: 15.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.5931, allocations: 11.61 MB / 0.6298 GB, free: 5.551 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.5933, allocations: 241 kB / 0.6301 GB, free: 5.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.745, allocations: 0 / 0.6301 GB, free: 5.301 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)