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.007163/0.007163, allocations: 101 kB / 15.73 MB, free: 5.555 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.399/1.399, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.001487/0.001487, allocations: 191 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4574/0.4574, allocations: 78.55 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 87.86 kB / 0.5531 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 68.17 MB / 0.6197 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003085/0.3027, allocations: 2.79 MB / 0.6224 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.304, allocations: 0.8844 MB / 0.6233 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3041, allocations: 6.188 kB / 0.6233 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.3044, allocations: 91.92 kB / 0.6234 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.3046, allocations: 126.3 kB / 0.6235 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.3054, allocations: 447.8 kB / 0.6239 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.3057, allocations: 422.3 kB / 0.6243 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3058, allocations: 101 kB / 0.6244 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.306, allocations: 167.2 kB / 0.6246 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3062, allocations: 227 kB / 0.6248 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.3063, allocations: 36 kB / 0.6248 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3064, allocations: 87.92 kB / 0.6249 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.3065, allocations: 87.61 kB / 0.625 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3066, allocations: 190.9 kB / 0.6252 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.307, allocations: 0.4949 MB / 0.6257 GB, free: 4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.307, allocations: 0 / 0.6257 GB, free: 4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.307, allocations: 0 / 0.6257 GB, free: 4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.307, allocations: 0 / 0.6257 GB, free: 4 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.002573/0.3096, allocations: 1.028 MB / 0.6267 GB, free: 2.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3096, allocations: 12.02 kB / 0.6267 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.3097, allocations: 58.73 kB / 0.6267 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.3112, allocations: 268.3 kB / 0.627 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3115, allocations: 356.2 kB / 0.6273 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.972e-05/0.3116, allocations: 83.89 kB / 0.6274 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.3117, allocations: 24 kB / 0.6274 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.3123, allocations: 364.8 kB / 0.6278 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3123, allocations: 0 / 0.6278 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.3124, allocations: 12 kB / 0.6278 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3124, allocations: 4 kB / 0.6278 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.313, allocations: 374 kB / 0.6282 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.3145, allocations: 1.014 MB / 0.6291 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007111/0.3217, allocations: 1.36 MB / 0.6305 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.3223, allocations: 260.8 kB / 0.6307 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.3223, allocations: 3.984 kB / 0.6307 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3224, allocations: 42.56 kB / 0.6308 GB, free: 14.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.3224, allocations: 0 / 0.6308 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007169/0.3296, allocations: 1.976 MB / 0.6327 GB, free: 12.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3296, allocations: 63.33 kB / 0.6328 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.33, allocations: 316.6 kB / 0.6331 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.3301, allocations: 33.7 kB / 0.6331 GB, free: 12.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3302, allocations: 188.8 kB / 0.6333 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3304, allocations: 118.9 kB / 0.6334 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3305, allocations: 53.98 kB / 0.6334 GB, free: 11.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3307, allocations: 346.7 kB / 0.6338 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.3312, allocations: 216.4 kB / 0.634 GB, free: 11.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.3317, allocations: 225 kB / 0.6342 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.3328, allocations: 466.9 kB / 0.6346 GB, free: 10.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3328, allocations: 0 / 0.6346 GB, free: 10.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004398/0.3372, allocations: 1.257 MB / 0.6359 GB, free: 9.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3372, allocations: 4 kB / 0.6359 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3372, allocations: 0 / 0.6359 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/0.3406, allocations: 0.7672 MB / 0.6366 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3408, allocations: 31.92 kB / 0.6366 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.3472, allocations: 3.13 MB / 0.6397 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.3477, allocations: 43.91 kB / 0.6397 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.3478, allocations: 12 kB / 0.6398 GB, free: 5.086 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.0002206/0.348, allocations: 153.9 kB / 0.6399 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.3481, allocations: 43.75 kB / 0.6399 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.3524, allocations: 1.214 MB / 0.6411 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3524, allocations: 0 / 0.6411 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.3524, allocations: 4 kB / 0.6411 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3524, allocations: 0 / 0.6411 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.3531, allocations: 0.5205 MB / 0.6416 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3531, allocations: 3.938 kB / 0.6416 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.3533, allocations: 27.98 kB / 0.6417 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/0.3561, allocations: 0.6775 MB / 0.6423 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.3561, allocations: 4 kB / 0.6423 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/0.3611, allocations: 2.684 MB / 0.645 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3611, allocations: 4 kB / 0.645 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/0.3659, allocations: 1.583 MB / 0.6465 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.3661, allocations: 120.8 kB / 0.6466 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3662, allocations: 8 kB / 0.6466 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.3666, allocations: 27.97 kB / 0.6467 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.3669, allocations: 92.02 kB / 0.6467 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.3669, allocations: 8 kB / 0.6468 GB, free: 13.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.3672, allocations: 231.1 kB / 0.647 GB, free: 13.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 0.647 GB, free: 13.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.3677, allocations: 135.9 kB / 0.6471 GB, free: 13.29 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.00511/0.3728, allocations: 2.135 MB / 0.6492 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.3755, allocations: 0.9863 MB / 0.6502 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3755, allocations: 0 / 0.6502 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.3773, allocations: 0.7172 MB / 0.6509 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3777, allocations: 29.38 kB / 0.6509 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.3952, allocations: 5.646 MB / 0.6564 GB, free: 3.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.3957, allocations: 0.7912 MB / 0.6572 GB, free: 2.711 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3958, allocations: 26.28 kB / 0.6572 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.396, allocations: 107.4 kB / 0.6573 GB, free: 2.578 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.396, allocations: 0 / 0.6573 GB, free: 2.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.4359, allocations: 11.51 MB / 0.6685 GB, free: 7.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.44, allocations: 7.812 kB / 0.6685 GB, free: 7.207 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)