Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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/Complex 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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.7178/0.7178, allocations: 78.55 MB / 93.78 MB, free: 4.176 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 106.6 kB / 113.3 MB, free: 10.07 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 191.2 kB / 133 MB, free: 6.445 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 375.4 MB, free: 2.324 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6181/0.6181, allocations: 62.43 MB / 0.4948 GB, free: 8.352 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 119.8 kB / 0.5747 GB, free: 6.559 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4006, allocations: 69.5 MB / 0.6426 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.004251/0.4049, allocations: 4.48 MB / 0.647 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.4068, allocations: 1.254 MB / 0.6482 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.4071, allocations: 5.719 kB / 0.6482 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.4074, allocations: 99.75 kB / 0.6483 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.4078, allocations: 203.4 kB / 0.6485 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.4087, allocations: 0.4973 MB / 0.649 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.4093, allocations: 0.8373 MB / 0.6498 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.4095, allocations: 172.3 kB / 0.65 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.4098, allocations: 344.3 kB / 0.6503 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.4102, allocations: 457.8 kB / 0.6507 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.4103, allocations: 67.41 kB / 0.6508 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.4105, allocations: 129.7 kB / 0.6509 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.4106, allocations: 168 kB / 0.6511 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.4108, allocations: 356.8 kB / 0.6514 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.4114, allocations: 0.8295 MB / 0.6522 GB, free: 10.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4114, allocations: 0 / 0.6522 GB, free: 10.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4114, allocations: 0 / 0.6522 GB, free: 10.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4114, allocations: 0 / 0.6522 GB, free: 10.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002852/0.4143, allocations: 1.214 MB / 0.6534 GB, free: 9.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4143, allocations: 14.44 kB / 0.6534 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.044e-05/0.4144, allocations: 79.84 kB / 0.6535 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.4153, allocations: 180.7 kB / 0.6537 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.4158, allocations: 497.1 kB / 0.6542 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.4159, allocations: 72.39 kB / 0.6542 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.416, allocations: 44.5 kB / 0.6543 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.4169, allocations: 0.5476 MB / 0.6548 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4169, allocations: 3.938 kB / 0.6548 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.4169, allocations: 24.78 kB / 0.6548 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.417, allocations: 10.19 kB / 0.6548 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.4178, allocations: 485.3 kB / 0.6553 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4205, allocations: 2.099 MB / 0.6573 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.4213, allocations: 0.6291 MB / 0.658 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.4218, allocations: 282.2 kB / 0.6582 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.4219, allocations: 14.84 kB / 0.6582 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.4219, allocations: 42.75 kB / 0.6583 GB, free: 6.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.913e-06/0.4219, allocations: 0 / 0.6583 GB, free: 6.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.00794/0.4298, allocations: 2.841 MB / 0.6611 GB, free: 3.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.4299, allocations: 85.48 kB / 0.6611 GB, free: 3.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.4303, allocations: 0.4904 MB / 0.6616 GB, free: 3.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4304, allocations: 33.7 kB / 0.6617 GB, free: 2.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4305, allocations: 292.1 kB / 0.6619 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4306, allocations: 185.3 kB / 0.6621 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4307, allocations: 90.25 kB / 0.6622 GB, free: 2.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.4308, allocations: 374.7 kB / 0.6626 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.4312, allocations: 233 kB / 0.6628 GB, free: 1.828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.4317, allocations: 337.1 kB / 0.6631 GB, free: 1.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.4325, allocations: 0.6012 MB / 0.6637 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4325, allocations: 0 / 0.6637 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007427/0.4399, allocations: 1.74 MB / 0.6654 GB, free: 15.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.44, allocations: 4 kB / 0.6654 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.44, allocations: 7.938 kB / 0.6654 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007084/0.4471, allocations: 1.188 MB / 0.6666 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.4476, allocations: 99.81 kB / 0.6667 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.4587, allocations: 6.255 MB / 0.6728 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.4594, allocations: 40.06 kB / 0.6728 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.4595, allocations: 20 kB / 0.6728 GB, free: 7.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.4597, allocations: 175.4 kB / 0.673 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4599, allocations: 63.19 kB / 0.673 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.464, allocations: 1.319 MB / 0.6743 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.464, allocations: 11.94 kB / 0.6743 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.464, allocations: 4 kB / 0.6743 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.464, allocations: 3.984 kB / 0.6744 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.4692, allocations: 2.118 MB / 0.6764 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.4692, allocations: 0 / 0.6764 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.4696, allocations: 79.89 kB / 0.6765 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.4721, allocations: 0.5938 MB / 0.6771 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.4721, allocations: 15.94 kB / 0.6771 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.4788, allocations: 4.73 MB / 0.6817 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4788, allocations: 4.031 kB / 0.6817 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00489/0.4837, allocations: 1.784 MB / 0.6835 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.484, allocations: 144.4 kB / 0.6836 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4841, allocations: 12 kB / 0.6836 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.4847, allocations: 35.91 kB / 0.6836 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.4849, allocations: 72.28 kB / 0.6837 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.485, allocations: 8 kB / 0.6837 GB, free: 11.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.4854, allocations: 358.9 kB / 0.6841 GB, free: 11.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4854, allocations: 0 / 0.6841 GB, free: 11.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000814/0.4862, allocations: 192 kB / 0.6842 GB, free: 11.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005046/0.4913, allocations: 2.348 MB / 0.6865 GB, free: 8.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.4935, allocations: 0.9044 MB / 0.6874 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4936, allocations: 320 / 0.6874 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.4949, allocations: 0.6793 MB / 0.6881 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.4956, allocations: 69.89 kB / 0.6881 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/0.5171, allocations: 7.818 MB / 0.6958 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.5177, allocations: 0.8794 MB / 0.6966 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.518, allocations: 60.34 kB / 0.6967 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.5184, allocations: 207.4 kB / 0.6969 GB, free: 13.8 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5184, allocations: 0 / 0.6969 GB, free: 13.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.5559, allocations: 17.38 MB / 0.7139 GB, free: 12.68 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.5562, allocations: 297.5 kB / 0.7142 GB, free: 12.3 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.665, allocations: 4 kB / 0.7142 GB, free: 12.29 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)