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.005267/0.005267, allocations: 102.3 kB / 15.73 MB, free: 6.023 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.327/1.327, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001363/0.001363, allocations: 196.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4555/0.4555, allocations: 78.53 MB / 418.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 83.88 kB / 0.5531 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3224, allocations: 68.16 MB / 0.6197 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003656/0.3261, allocations: 2.795 MB / 0.6224 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3278, allocations: 0.8962 MB / 0.6233 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.3281, allocations: 6.688 kB / 0.6233 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3285, allocations: 83.97 kB / 0.6234 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.3289, allocations: 126 kB / 0.6235 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.3299, allocations: 444.8 kB / 0.6239 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.3304, allocations: 426.2 kB / 0.6243 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3306, allocations: 93.05 kB / 0.6244 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.3308, allocations: 171.2 kB / 0.6246 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.3311, allocations: 227 kB / 0.6248 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.3312, allocations: 32 kB / 0.6248 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3314, allocations: 91.97 kB / 0.6249 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3315, allocations: 87.61 kB / 0.625 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3316, allocations: 182.9 kB / 0.6252 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.3321, allocations: 0.4926 MB / 0.6257 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3321, allocations: 3.984 kB / 0.6257 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3321, allocations: 0 / 0.6257 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.3321, allocations: 4 kB / 0.6257 GB, free: 4.047 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.002761/0.3349, allocations: 1.021 MB / 0.6267 GB, free: 2.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.335, allocations: 8.031 kB / 0.6267 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.335, allocations: 62.72 kB / 0.6267 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.3366, allocations: 264.2 kB / 0.627 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.337, allocations: 344 kB / 0.6273 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3371, allocations: 87.83 kB / 0.6274 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.3372, allocations: 24 kB / 0.6274 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.3379, allocations: 368.8 kB / 0.6278 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3379, allocations: 0 / 0.6278 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3379, allocations: 8 kB / 0.6278 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3379, allocations: 11.94 kB / 0.6278 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.3386, allocations: 362.1 kB / 0.6281 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3402, allocations: 1.018 MB / 0.6291 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006672/0.3469, allocations: 1.364 MB / 0.6305 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.3475, allocations: 260.7 kB / 0.6307 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.3476, allocations: 4 kB / 0.6307 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3476, allocations: 34.56 kB / 0.6307 GB, free: 14.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.3476, allocations: 0 / 0.6307 GB, free: 14.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006917/0.3545, allocations: 1.984 MB / 0.6327 GB, free: 12.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3546, allocations: 63.39 kB / 0.6327 GB, free: 12.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.3551, allocations: 312.6 kB / 0.633 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.3551, allocations: 29.7 kB / 0.6331 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3553, allocations: 188.6 kB / 0.6332 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3554, allocations: 110.4 kB / 0.6333 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3556, allocations: 49.98 kB / 0.6334 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3557, allocations: 346.7 kB / 0.6337 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.3563, allocations: 220.4 kB / 0.6339 GB, free: 11.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.3568, allocations: 221 kB / 0.6341 GB, free: 11.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.3578, allocations: 470.8 kB / 0.6346 GB, free: 10.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3578, allocations: 0 / 0.6346 GB, free: 10.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004214/0.362, allocations: 1.249 MB / 0.6358 GB, free: 9.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.362, allocations: 6.344 kB / 0.6358 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3621, allocations: 4 kB / 0.6358 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.3652, allocations: 0.7632 MB / 0.6366 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3654, allocations: 31.98 kB / 0.6366 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.3713, allocations: 3.129 MB / 0.6397 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.3719, allocations: 51.73 kB / 0.6397 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3719, allocations: 12 kB / 0.6397 GB, free: 5.16 MB / 446.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.0002073/0.3722, allocations: 157.7 kB / 0.6399 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3723, allocations: 39.53 kB / 0.6399 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.3762, allocations: 1.206 MB / 0.6411 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3763, allocations: 4 kB / 0.6411 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3763, allocations: 0 / 0.6411 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3763, allocations: 3.984 kB / 0.6411 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.3769, allocations: 0.5127 MB / 0.6416 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3769, allocations: 3.938 kB / 0.6416 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.3772, allocations: 35.92 kB / 0.6416 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.38, allocations: 0.6737 MB / 0.6423 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.38, allocations: 4 kB / 0.6423 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.3845, allocations: 2.68 MB / 0.6449 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3846, allocations: 4 kB / 0.6449 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/0.3891, allocations: 1.575 MB / 0.6465 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3893, allocations: 128.5 kB / 0.6466 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.3894, allocations: 7.938 kB / 0.6466 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.3898, allocations: 32.03 kB / 0.6466 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.39, allocations: 87.88 kB / 0.6467 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3901, allocations: 8.094 kB / 0.6467 GB, free: 13.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.3903, allocations: 231 kB / 0.6469 GB, free: 13.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 0 / 0.6469 GB, free: 13.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.3908, allocations: 135.9 kB / 0.6471 GB, free: 13.38 MB / 462.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.004877/0.3957, allocations: 2.134 MB / 0.6491 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.3985, allocations: 0.9825 MB / 0.6501 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3986, allocations: 0 / 0.6501 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.4003, allocations: 0.7211 MB / 0.6508 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4008, allocations: 35.38 kB / 0.6508 GB, free: 9.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.4177, allocations: 5.625 MB / 0.6563 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4181, allocations: 0.7951 MB / 0.6571 GB, free: 2.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4182, allocations: 22.23 kB / 0.6571 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.4184, allocations: 115.4 kB / 0.6572 GB, free: 2.672 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4184, allocations: 0 / 0.6572 GB, free: 2.672 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.4656, allocations: 11.92 MB / 0.6689 GB, free: 6.895 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.23, allocations: 9.875 kB / 0.6689 GB, free: 6.887 MB / 478.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)