Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.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.MultiDomainTypeV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3547/0.3547, allocations: 78.55 MB / 94.85 MB, free: 3.859 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.001091/0.001091, allocations: 107.8 kB / 114.4 MB, free: 9.805 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.001356/0.001356, allocations: 188.5 kB / 134.1 MB, free: 6.145 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.368/1.368, allocations: 222.9 MB / 376.5 MB, free: 3.719 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6314/0.6314, allocations: 62.27 MB / 0.4958 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 133.1 kB / 0.6448 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1208, allocations: 69.52 MB / 0.7127 GB, free: 13.54 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV): time 0.007386/0.1282, allocations: 6.786 MB / 0.7193 GB, free: 6.711 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.1474, allocations: 13.71 MB / 0.7327 GB, free: 8.996 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.1506, allocations: 15.94 kB / 0.7327 GB, free: 8.98 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.362/1.513, allocations: 434.4 MB / 1.157 GB, free: 242.4 MB / 0.8108 GB [/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.1296/1.642, allocations: 217.6 MB / 1.369 GB, free: 32.16 MB / 0.8108 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:957:11-957:250:writable] Warning: In relation Motor5.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:957:11-957:250:writable] Warning: In relation Motor5.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:957:11-957:250:writable] Warning: In relation Motor5.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:957:11-957:250:writable] Warning: In relation Motor5.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:959:11-959:274:writable] Warning: In relation Motor5.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:959:11-959:274:writable] Warning: In relation Motor5.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:959:11-959:274:writable] Warning: In relation Motor5.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/MultiDomain.mo:959:11-959:274:writable] Warning: In relation Motor5.X2 == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00234/1.645, allocations: 0.9751 MB / 1.37 GB, free: 31.54 MB / 0.8108 GB Notification: Performance of NFFlatten.flatten: time 0.5622/2.207, allocations: 108.3 MB / 1.476 GB, free: 82.82 MB / 0.8108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/2.208, allocations: 300.9 kB / 1.476 GB, free: 82.77 MB / 0.8108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1499/2.358, allocations: 91.35 MB / 1.566 GB, free: 69.48 MB / 0.8108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7544/3.112, allocations: 220.2 MB / 1.781 GB, free: 68.85 MB / 0.9045 GB Notification: Performance of NFPackage.collectConstants: time 0.008121/3.12, allocations: 120.1 kB / 1.781 GB, free: 68.85 MB / 0.9045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0084/3.129, allocations: 240.1 kB / 1.781 GB, free: 68.85 MB / 0.9045 GB Notification: Performance of NFScalarize.scalarize: time 0.05235/3.181, allocations: 65.49 MB / 1.845 GB, free: 50.72 MB / 0.9045 GB Notification: Performance of NFVerifyModel.verify: time 0.06096/3.242, allocations: 71.2 MB / 1.914 GB, free: 5.176 MB / 0.9202 GB Notification: Performance of NFConvertDAE.convert: time 0.1417/3.384, allocations: 161.1 MB / 2.072 GB, free: 0.9219 MB / 0.9827 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/3.384, allocations: 0 / 2.072 GB, free: 0.9219 MB / 0.9827 GB Notification: Performance of FrontEnd: time 2.134e-06/3.384, allocations: 3.938 kB / 2.072 GB, free: 0.918 MB / 0.9827 GB Notification: Performance of Transformations before backend: time 0.009553/3.393, allocations: 0 / 2.072 GB, free: 0.918 MB / 0.9827 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 1.214/4.607, allocations: 245.7 MB / 2.312 GB, free: 174.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/4.607, allocations: 12.03 kB / 2.312 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03367/4.641, allocations: 30.69 MB / 2.342 GB, free: 143.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09409/4.735, allocations: 98.46 MB / 2.438 GB, free: 52.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/4.735, allocations: 94.98 kB / 2.438 GB, free: 52.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/4.735, allocations: 84 kB / 2.438 GB, free: 52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/4.737, allocations: 0.9837 MB / 2.439 GB, free: 51.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/4.737, allocations: 11.84 kB / 2.439 GB, free: 51.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/4.737, allocations: 31.33 kB / 2.439 GB, free: 51.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/4.737, allocations: 20 kB / 2.439 GB, free: 51.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/4.738, allocations: 0.8391 MB / 2.44 GB, free: 50.38 MB / 1.014 GB 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.8222/5.56, allocations: 102.4 MB / 2.54 GB, free: 254.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/5.562, allocations: 1.375 MB / 2.541 GB, free: 253.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/5.563, allocations: 0.5153 MB / 2.542 GB, free: 253.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/5.563, allocations: 28.31 kB / 2.542 GB, free: 253.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/5.564, allocations: 0.6672 MB / 2.542 GB, free: 252.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.426e-06/5.564, allocations: 3.375 kB / 2.542 GB, free: 252.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=108): time 0.3055/5.87, allocations: 297.3 MB / 2.833 GB, free: 5.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/5.87, allocations: 204.9 kB / 2.833 GB, free: 5.188 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.31/9.18, allocations: 0.7226 GB / 3.556 GB, free: 141.5 MB / 1.14 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/9.18, allocations: 45.7 kB / 3.556 GB, free: 141.5 MB / 1.14 GB Notification: Performance of collectInitialEqns (initialization): time 0.239/9.419, allocations: 173.9 MB / 3.725 GB, free: 0.9141 MB / 1.171 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/9.42, allocations: 372.2 kB / 3.726 GB, free: 0.7383 MB / 1.171 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/9.421, allocations: 181 kB / 3.726 GB, free: 0.5547 MB / 1.171 GB Notification: Performance of setup shared object (initialization): time 0.0001504/9.421, allocations: 355.9 kB / 3.726 GB, free: 208 kB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/9.422, allocations: 430.4 kB / 3.727 GB, free: 15.79 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/9.423, allocations: 0.6316 MB / 3.727 GB, free: 15.08 MB / 1.187 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/9.434, allocations: 2.976 MB / 3.73 GB, free: 12.09 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/9.434, allocations: 0 / 3.73 GB, free: 12.09 MB / 1.187 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.04995/9.484, allocations: 32.32 MB / 3.762 GB, free: 12.63 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/9.484, allocations: 10.66 kB / 3.762 GB, free: 12.62 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/9.484, allocations: 4 kB / 3.762 GB, free: 12.62 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/9.487, allocations: 0.7047 MB / 3.763 GB, free: 11.91 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/9.488, allocations: 184.5 kB / 3.763 GB, free: 11.73 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/9.5, allocations: 6.47 MB / 3.769 GB, free: 5.07 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03325/9.533, allocations: 63.53 kB / 3.769 GB, free: 5.016 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/9.533, allocations: 43.98 kB / 3.769 GB, free: 4.973 MB / 1.202 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Motor5.s = 0.999999999999999. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.PST_Voltage_Magnitude1.nextTimeEvent,$whenCondition4,PST_Voltage_Magnitude1.nextTimeEventScaled,$PRE.PST_Voltage_Magnitude1.nextTimeEventScaled,PST_Voltage_Magnitude1.nextTimeEvent,$PRE.PST_Slip1.nextTimeEvent,$whenCondition3,PST_Slip1.nextTimeEventScaled,$PRE.PST_Slip1.nextTimeEventScaled,PST_Slip1.nextTimeEvent,$PRE.PST_Pmotor1.nextTimeEvent,$whenCondition2,PST_Pmotor1.nextTimeEventScaled,$PRE.PST_Pmotor1.nextTimeEventScaled,PST_Pmotor1.nextTimeEvent,$PRE.PST_Qmotor1.nextTimeEvent,$whenCondition1,PST_Qmotor1.nextTimeEventScaled,$PRE.PST_Qmotor1.nextTimeEventScaled,PST_Qmotor1.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.6681/10.2, allocations: 85.88 MB / 3.853 GB, free: 270.7 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02863/10.23, allocations: 30.34 MB / 3.883 GB, free: 261.3 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09712/10.33, allocations: 40.28 MB / 3.922 GB, free: 233.7 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/10.33, allocations: 9.469 kB / 3.922 GB, free: 233.7 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/10.33, allocations: 0 / 3.922 GB, free: 233.7 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04747/10.37, allocations: 23.7 MB / 3.945 GB, free: 226.8 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02477/10.4, allocations: 23.5 kB / 3.945 GB, free: 226.8 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03006/10.43, allocations: 48.45 kB / 3.945 GB, free: 226.8 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/10.43, allocations: 178.6 kB / 3.945 GB, free: 226.7 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004522/10.43, allocations: 2.034 MB / 3.947 GB, free: 225.4 MB / 1.202 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03583/10.47, allocations: 34.72 MB / 3.981 GB, free: 190.9 MB / 1.202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007407/10.47, allocations: 443 kB / 3.982 GB, free: 190.7 MB / 1.202 GB Notification: Performance of sorting global known variables: time 1.902/12.37, allocations: 0.5504 GB / 4.532 GB, free: 151.4 MB / 1.202 GB Notification: Performance of Backend: time 2.645e-06/12.37, allocations: 0 / 4.532 GB, free: 151.4 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.1118/12.49, allocations: 102.2 MB / 4.632 GB, free: 81.92 MB / 1.202 GB Notification: Performance of SimCode: time 1.428/13.91, allocations: 0.5732 GB / 5.205 GB, free: 31.41 MB / 1.202 GB Notification: Performance of Templates: time 137.2/151.1, allocations: 326.8 MB / 5.524 GB, free: 148.3 MB / 1.203 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeV.pipe 2>&1)