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.006917/0.006917, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.333/1.333, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001225/0.001225, allocations: 184.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.4439/0.4439, allocations: 78.54 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 83.88 kB / 0.5531 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.302, allocations: 68.16 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002759/0.3048, allocations: 2.794 MB / 0.6224 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.306, allocations: 0.8897 MB / 0.6233 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3061, allocations: 5.688 kB / 0.6233 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3064, allocations: 87.55 kB / 0.6234 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.3066, allocations: 146.8 kB / 0.6235 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.3074, allocations: 449.2 kB / 0.6239 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3076, allocations: 418.3 kB / 0.6243 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3078, allocations: 89.05 kB / 0.6244 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3079, allocations: 175.2 kB / 0.6246 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.3081, allocations: 227 kB / 0.6248 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.3082, allocations: 32 kB / 0.6248 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3083, allocations: 87.97 kB / 0.6249 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.3084, allocations: 87.61 kB / 0.625 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3085, allocations: 190.9 kB / 0.6252 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3089, allocations: 0.4927 MB / 0.6257 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3089, allocations: 0 / 0.6257 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3089, allocations: 0 / 0.6257 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3089, allocations: 0 / 0.6257 GB, free: 4.035 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.002507/0.3114, allocations: 1.021 MB / 0.6267 GB, free: 2.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3114, allocations: 16.03 kB / 0.6267 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.3115, allocations: 62.72 kB / 0.6267 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.313, allocations: 260.2 kB / 0.627 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3134, allocations: 347.9 kB / 0.6273 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/0.3135, allocations: 87.89 kB / 0.6274 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.3135, allocations: 20 kB / 0.6274 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.3142, allocations: 372.8 kB / 0.6278 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3142, allocations: 0 / 0.6278 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.3142, allocations: 8 kB / 0.6278 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3142, allocations: 7.938 kB / 0.6278 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.3149, allocations: 370 kB / 0.6281 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3164, allocations: 1.014 MB / 0.6291 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006272/0.3227, allocations: 1.364 MB / 0.6305 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.3233, allocations: 256.8 kB / 0.6307 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.3233, allocations: 4 kB / 0.6307 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3234, allocations: 42.56 kB / 0.6308 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/0.3234, allocations: 0 / 0.6308 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006445/0.3298, allocations: 1.976 MB / 0.6327 GB, free: 12.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3299, allocations: 59.39 kB / 0.6327 GB, free: 12.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3303, allocations: 324.5 kB / 0.6331 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3303, allocations: 29.7 kB / 0.6331 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3304, allocations: 184.6 kB / 0.6333 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3306, allocations: 114.3 kB / 0.6334 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3307, allocations: 49.98 kB / 0.6334 GB, free: 11.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3308, allocations: 350.7 kB / 0.6338 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.3313, allocations: 220.4 kB / 0.634 GB, free: 11.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3317, allocations: 221 kB / 0.6342 GB, free: 11.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.3327, allocations: 470.9 kB / 0.6346 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3327, allocations: 0 / 0.6346 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004015/0.3367, allocations: 1.249 MB / 0.6358 GB, free: 9.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3367, allocations: 8 kB / 0.6358 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3368, allocations: 0 / 0.6358 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.3398, allocations: 0.7516 MB / 0.6366 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.34, allocations: 31.92 kB / 0.6366 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.3457, allocations: 3.136 MB / 0.6397 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3462, allocations: 59.73 kB / 0.6397 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3462, allocations: 4 kB / 0.6397 GB, free: 5.141 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.0001894/0.3464, allocations: 153.8 kB / 0.6399 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.3465, allocations: 35.53 kB / 0.6399 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/0.3503, allocations: 1.214 MB / 0.6411 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3504, allocations: 4 kB / 0.6411 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3504, allocations: 4 kB / 0.6411 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3504, allocations: 3.984 kB / 0.6411 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.351, allocations: 0.5127 MB / 0.6416 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.351, allocations: 3.938 kB / 0.6416 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.3512, allocations: 27.98 kB / 0.6416 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.3537, allocations: 0.6775 MB / 0.6423 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.3538, allocations: 8 kB / 0.6423 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/0.3581, allocations: 2.684 MB / 0.6449 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3581, allocations: 0 / 0.6449 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.3624, allocations: 1.575 MB / 0.6465 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3625, allocations: 124.5 kB / 0.6466 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.3626, allocations: 7.984 kB / 0.6466 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.363, allocations: 31.97 kB / 0.6466 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.3633, allocations: 83.94 kB / 0.6467 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.3633, allocations: 12 kB / 0.6467 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3635, allocations: 235 kB / 0.6469 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 0 / 0.6469 GB, free: 13.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.3641, allocations: 135.9 kB / 0.6471 GB, free: 13.36 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.00456/0.3686, allocations: 2.127 MB / 0.6492 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.371, allocations: 0.9747 MB / 0.6501 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.371, allocations: 0 / 0.6501 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.3726, allocations: 0.7211 MB / 0.6508 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.373, allocations: 39.59 kB / 0.6508 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.3895, allocations: 5.627 MB / 0.6563 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3898, allocations: 0.7989 MB / 0.6571 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.3899, allocations: 26.23 kB / 0.6571 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3901, allocations: 107.4 kB / 0.6572 GB, free: 2.66 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3901, allocations: 0 / 0.6572 GB, free: 2.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.4242, allocations: 11.5 MB / 0.6685 GB, free: 7.297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.15, allocations: 7.812 kB / 0.6685 GB, free: 7.293 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)