Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.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.MultiDomainTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3615/0.3615, allocations: 78.54 MB / 94.85 MB, free: 3.867 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.001024/0.001024, allocations: 103.7 kB / 114.4 MB, free: 9.777 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.001182/0.001182, allocations: 188.5 kB / 134.1 MB, free: 6.129 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.427/1.427, allocations: 222.9 MB / 376.5 MB, free: 3.793 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6386/0.6386, allocations: 62.26 MB / 0.4958 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 123.7 kB / 0.6448 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 69.51 MB / 0.7127 GB, free: 13.43 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI): time 0.007786/0.1273, allocations: 6.68 MB / 0.7192 GB, free: 6.707 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.1528, allocations: 13.63 MB / 0.7325 GB, free: 9.066 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.1563, allocations: 15.94 kB / 0.7326 GB, free: 9.051 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.237/1.393, allocations: 434.4 MB / 1.157 GB, free: 242.5 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.1273/1.521, allocations: 217.6 MB / 1.369 GB, free: 32.3 MB / 0.8108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/1.523, allocations: 0.9149 MB / 1.37 GB, free: 31.71 MB / 0.8108 GB Notification: Performance of NFFlatten.flatten: time 0.459/1.982, allocations: 108.2 MB / 1.476 GB, free: 60.76 MB / 0.8108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/1.983, allocations: 298.4 kB / 1.476 GB, free: 60.71 MB / 0.8108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1456/2.128, allocations: 91.31 MB / 1.565 GB, free: 54.45 MB / 0.8108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7096/2.838, allocations: 220.2 MB / 1.78 GB, free: 72.83 MB / 0.9045 GB Notification: Performance of NFPackage.collectConstants: time 0.008867/2.847, allocations: 116.5 kB / 1.78 GB, free: 72.83 MB / 0.9045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009368/2.856, allocations: 225.4 kB / 1.781 GB, free: 72.83 MB / 0.9045 GB Notification: Performance of NFScalarize.scalarize: time 0.05398/2.91, allocations: 65.47 MB / 1.844 GB, free: 54.82 MB / 0.9045 GB Notification: Performance of NFVerifyModel.verify: time 0.05905/2.97, allocations: 71.17 MB / 1.914 GB, free: 9.289 MB / 0.9202 GB Notification: Performance of NFConvertDAE.convert: time 0.1486/3.118, allocations: 161 MB / 2.071 GB, free: 4.938 MB / 0.9827 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/3.118, allocations: 1.031 kB / 2.071 GB, free: 4.938 MB / 0.9827 GB Notification: Performance of FrontEnd: time 1.904e-06/3.118, allocations: 1.594 kB / 2.071 GB, free: 4.938 MB / 0.9827 GB Notification: Performance of Transformations before backend: time 0.00887/3.127, allocations: 0 / 2.071 GB, free: 4.938 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 1.237/4.364, allocations: 245.6 MB / 2.311 GB, free: 178.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/4.365, allocations: 8.031 kB / 2.311 GB, free: 178.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03447/4.399, allocations: 30.69 MB / 2.341 GB, free: 147.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1047/4.504, allocations: 98.44 MB / 2.437 GB, free: 56.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/4.504, allocations: 91.03 kB / 2.437 GB, free: 56.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/4.504, allocations: 77.86 kB / 2.437 GB, free: 56.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/4.507, allocations: 0.9319 MB / 2.438 GB, free: 55.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/4.507, allocations: 7.938 kB / 2.438 GB, free: 55.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/4.507, allocations: 31.33 kB / 2.438 GB, free: 55.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/4.507, allocations: 24 kB / 2.438 GB, free: 55.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/4.508, allocations: 0.7791 MB / 2.439 GB, free: 55.09 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 1.309/5.817, allocations: 101.4 MB / 2.538 GB, free: 240.1 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/5.819, allocations: 1.352 MB / 2.539 GB, free: 239.1 MB / 1.015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/5.82, allocations: 490.9 kB / 2.54 GB, free: 238.9 MB / 1.015 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/5.82, allocations: 21.7 kB / 2.54 GB, free: 238.9 MB / 1.015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/5.821, allocations: 0.6191 MB / 2.541 GB, free: 238.6 MB / 1.015 GB Notification: Performance of pre-optimization done (n=101): time 3.477e-06/5.821, allocations: 0 / 2.541 GB, free: 238.6 MB / 1.015 GB Notification: Performance of matching and sorting (n=102): time 0.3206/6.141, allocations: 297.2 MB / 2.831 GB, free: 3.355 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/6.142, allocations: 196.5 kB / 2.831 GB, free: 3.121 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.226/9.368, allocations: 0.7237 GB / 3.555 GB, free: 180.5 MB / 1.188 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/9.368, allocations: 47.7 kB / 3.555 GB, free: 180.5 MB / 1.188 GB Notification: Performance of collectInitialEqns (initialization): time 0.2144/9.583, allocations: 173.9 MB / 3.725 GB, free: 18.93 MB / 1.188 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/9.583, allocations: 345.5 kB / 3.725 GB, free: 18.76 MB / 1.188 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/9.584, allocations: 175.2 kB / 3.725 GB, free: 18.59 MB / 1.188 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/9.584, allocations: 345.9 kB / 3.725 GB, free: 18.24 MB / 1.188 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/9.585, allocations: 383.7 kB / 3.726 GB, free: 17.87 MB / 1.188 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/9.586, allocations: 0.5819 MB / 3.726 GB, free: 17.21 MB / 1.188 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/9.587, allocations: 1.014 MB / 3.727 GB, free: 16.16 MB / 1.188 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/9.587, allocations: 0 / 3.727 GB, free: 16.16 MB / 1.188 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.04291/9.63, allocations: 32.27 MB / 3.759 GB, free: 0.7695 MB / 1.188 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/9.63, allocations: 8 kB / 3.759 GB, free: 0.7617 MB / 1.188 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/9.63, allocations: 4.812 kB / 3.759 GB, free: 0.7578 MB / 1.188 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/9.633, allocations: 0.774 MB / 3.76 GB, free: 15.98 MB / 1.203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/9.634, allocations: 175.7 kB / 3.76 GB, free: 15.82 MB / 1.203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/9.646, allocations: 6.483 MB / 3.766 GB, free: 9.156 MB / 1.203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03628/9.682, allocations: 67.81 kB / 3.766 GB, free: 9.094 MB / 1.203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/9.682, allocations: 45.84 kB / 3.766 GB, free: 9.051 MB / 1.203 GB 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 (105): * Single equations (assignments): 103 * 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 {(10,16)} Notification: Performance of prepare postOptimizeDAE: time 0.743/10.43, allocations: 85.86 MB / 3.85 GB, free: 297.2 MB / 1.25 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04089/10.47, allocations: 30.34 MB / 3.88 GB, free: 297.2 MB / 1.25 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1276/10.59, allocations: 40.21 MB / 3.919 GB, free: 291.4 MB / 1.25 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/10.59, allocations: 10.45 kB / 3.919 GB, free: 291.4 MB / 1.25 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/10.59, allocations: 3.938 kB / 3.919 GB, free: 291.4 MB / 1.25 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04497/10.64, allocations: 23.7 MB / 3.942 GB, free: 284.6 MB / 1.25 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02746/10.67, allocations: 23.02 kB / 3.942 GB, free: 284.6 MB / 1.25 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03604/10.7, allocations: 45.55 kB / 3.942 GB, free: 284.5 MB / 1.25 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/10.7, allocations: 173 kB / 3.942 GB, free: 284.5 MB / 1.25 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00404/10.71, allocations: 1.903 MB / 3.944 GB, free: 283.2 MB / 1.25 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04129/10.75, allocations: 34.59 MB / 3.978 GB, free: 248.8 MB / 1.25 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008786/10.75, allocations: 398.4 kB / 3.978 GB, free: 248.6 MB / 1.25 GB Notification: Performance of sorting global known variables: time 1.794/12.54, allocations: 0.5504 GB / 4.529 GB, free: 226.6 MB / 1.25 GB Notification: Performance of Backend: time 1.833e-06/12.54, allocations: 0 / 4.529 GB, free: 226.6 MB / 1.25 GB Notification: Performance of simCode: created initialization part: time 0.1329/12.68, allocations: 102.2 MB / 4.629 GB, free: 205.2 MB / 1.25 GB Notification: Performance of SimCode: time 1.55/14.23, allocations: 0.573 GB / 5.202 GB, free: 88.89 MB / 1.25 GB Notification: Performance of Templates: time 93.28/107.5, allocations: 324 MB / 5.518 GB, free: 231.3 MB / 1.25 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainTypeI.pipe 2>&1)