Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.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: translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3753/0.3753, allocations: 78.53 MB / 93.49 MB, free: 4.688 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.0009612/0.0009612, allocations: 87.53 kB / 113.2 MB, free: 10.29 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.001125/0.001125, allocations: 181.1 kB / 133.1 MB, free: 6.473 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.459/1.459, allocations: 223.2 MB / 375.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.02367/0.02367, allocations: 5.578 MB / 451.5 MB, free: 14.54 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 10000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 10000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005989, allocations: 20 kB / 0.5215 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4121, allocations: 70.69 MB / 0.5906 GB, free: 45.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor): time 0.005895/0.418, allocations: 6.291 MB / 0.5967 GB, free: 40.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.4222, allocations: 1.657 MB / 0.5983 GB, free: 38.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.4232, allocations: 13.53 kB / 0.5983 GB, free: 38.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.4237, allocations: 150.4 kB / 0.5985 GB, free: 38.65 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation tf1_mt1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation tf2_mt1.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001044/0.4248, allocations: 408.2 kB / 0.5989 GB, free: 38.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.426, allocations: 0.5079 MB / 0.5994 GB, free: 37.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.4273, allocations: 0.8959 MB / 0.6002 GB, free: 37.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.4277, allocations: 265.5 kB / 0.6005 GB, free: 37.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.4284, allocations: 475.6 kB / 0.6009 GB, free: 36.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.4291, allocations: 0.5671 MB / 0.6015 GB, free: 36.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4292, allocations: 55.5 kB / 0.6016 GB, free: 36.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.4295, allocations: 105.7 kB / 0.6017 GB, free: 36.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.4297, allocations: 204.1 kB / 0.6019 GB, free: 36.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4298, allocations: 217 kB / 0.6021 GB, free: 36.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.4308, allocations: 1.074 MB / 0.6031 GB, free: 35.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4308, allocations: 1.156 kB / 0.6031 GB, free: 35.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4308, allocations: 0 / 0.6031 GB, free: 35.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4309, allocations: 4 kB / 0.6031 GB, free: 35.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003814/0.4347, allocations: 1.516 MB / 0.6046 GB, free: 34.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4347, allocations: 9.219 kB / 0.6046 GB, free: 34.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.4374, allocations: 467.8 kB / 0.605 GB, free: 34.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.4386, allocations: 0.6962 MB / 0.6057 GB, free: 33.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.4388, allocations: 96.36 kB / 0.6058 GB, free: 33.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.4389, allocations: 78 kB / 0.6059 GB, free: 33.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.4403, allocations: 0.8719 MB / 0.6067 GB, free: 32.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.4404, allocations: 7.906 kB / 0.6068 GB, free: 32.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.4404, allocations: 28 kB / 0.6068 GB, free: 32.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4405, allocations: 20 kB / 0.6068 GB, free: 32.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4415, allocations: 0.7651 MB / 0.6075 GB, free: 32.01 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.4465, allocations: 4.053 MB / 0.6115 GB, free: 27.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4475, allocations: 1.126 MB / 0.6126 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.4476, allocations: 16.58 kB / 0.6126 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.4476, allocations: 47.17 kB / 0.6127 GB, free: 26.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=79): time 2.475e-06/0.4476, allocations: 0 / 0.6127 GB, free: 26.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=80): time 0.01125/0.4589, allocations: 4.404 MB / 0.617 GB, free: 21.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.459, allocations: 97.7 kB / 0.6171 GB, free: 21.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.46, allocations: 0.8141 MB / 0.6179 GB, free: 20.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.4601, allocations: 41.7 kB / 0.6179 GB, free: 20.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.4604, allocations: 487.7 kB / 0.6184 GB, free: 20.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.4606, allocations: 271.9 kB / 0.6186 GB, free: 20.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4607, allocations: 20 kB / 0.6186 GB, free: 20.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.4608, allocations: 341.9 kB / 0.619 GB, free: 19.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.4613, allocations: 357.9 kB / 0.6193 GB, free: 19.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.4619, allocations: 0.4974 MB / 0.6198 GB, free: 18.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.4625, allocations: 414.9 kB / 0.6202 GB, free: 18.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4625, allocations: 4 kB / 0.6202 GB, free: 18.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004634/0.4671, allocations: 2.078 MB / 0.6222 GB, free: 16.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4672, allocations: 15.88 kB / 0.6222 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4672, allocations: 4 kB / 0.6222 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.4704, allocations: 0.903 MB / 0.6231 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.4708, allocations: 119.8 kB / 0.6232 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009832/0.4807, allocations: 6.111 MB / 0.6292 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4817, allocations: 43.98 kB / 0.6292 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.4818, allocations: 28 kB / 0.6293 GB, free: 9.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.4822, allocations: 231.4 kB / 0.6295 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4823, allocations: 98.78 kB / 0.6296 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.4863, allocations: 1.891 MB / 0.6314 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4864, allocations: 8 kB / 0.6314 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4864, allocations: 0 / 0.6314 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4864, allocations: 3.984 kB / 0.6314 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/0.4918, allocations: 3.208 MB / 0.6346 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4918, allocations: 0 / 0.6346 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.4923, allocations: 95.89 kB / 0.6347 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/0.4946, allocations: 0.7414 MB / 0.6354 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.4947, allocations: 20 kB / 0.6354 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008409/0.5031, allocations: 5.922 MB / 0.6412 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5031, allocations: 0 / 0.6412 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/0.5086, allocations: 2.52 MB / 0.6437 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.5091, allocations: 187.8 kB / 0.6438 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5092, allocations: 16 kB / 0.6438 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.5098, allocations: 31.98 kB / 0.6439 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.5101, allocations: 84.52 kB / 0.644 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.5102, allocations: 27.92 kB / 0.644 GB, free: 9.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007306/0.5109, allocations: 0.5693 MB / 0.6445 GB, free: 8.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5109, allocations: 0 / 0.6445 GB, free: 8.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00108/0.512, allocations: 312 kB / 0.6448 GB, free: 8.609 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (inf1.delta,inf1.eq,Load_Inertia.w,motor.motor.speed.phi,motor.motor.epr,motor.motor.epm,inf1.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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {8 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/0.5122, allocations: 123.2 kB / 0.645 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.5154, allocations: 1.385 MB / 0.6463 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5154, allocations: 0 / 0.6463 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.5175, allocations: 0.9923 MB / 0.6473 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.5182, allocations: 92.28 kB / 0.6474 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.5222, allocations: 2.385 MB / 0.6497 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.5229, allocations: 1.06 MB / 0.6507 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.5233, allocations: 90.44 kB / 0.6508 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5235, allocations: 55.42 kB / 0.6509 GB, free: 2.316 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5235, allocations: 0 / 0.6509 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Templates: time 0.02625/0.5497, allocations: 13.96 MB / 0.6645 GB, free: 4.43 MB / 446.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor.pipe 2>&1)