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.3648/0.3648, allocations: 78.55 MB / 94.85 MB, free: 3.871 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.001108/0.001108, allocations: 107.5 kB / 114.4 MB, free: 9.793 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.001263/0.001263, allocations: 184.2 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.394/1.394, allocations: 222.9 MB / 376.5 MB, free: 3.746 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6514/0.6514, allocations: 62.27 MB / 0.4958 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 132 kB / 0.6448 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1383, allocations: 69.51 MB / 0.7127 GB, free: 13.41 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainThreePhaseMotorValidation.MultiDomainMotor): time 0.008574/0.147, allocations: 7.923 MB / 0.7204 GB, free: 5.445 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.1674, allocations: 13.73 MB / 0.7339 GB, free: 7.711 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.171, allocations: 15.94 kB / 0.7339 GB, free: 7.695 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.379/1.55, allocations: 434.4 MB / 1.158 GB, free: 242 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.1326/1.682, allocations: 217.6 MB / 1.371 GB, free: 31.19 MB / 0.8108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/1.685, allocations: 0.9566 MB / 1.372 GB, free: 30.59 MB / 0.8108 GB Notification: Performance of NFFlatten.flatten: time 0.5148/2.2, allocations: 108.3 MB / 1.477 GB, free: 83.72 MB / 0.8108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/2.201, allocations: 363.4 kB / 1.478 GB, free: 83.62 MB / 0.8108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1613/2.362, allocations: 91.37 MB / 1.567 GB, free: 69.96 MB / 0.8108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.719/3.081, allocations: 220.2 MB / 1.782 GB, free: 68.22 MB / 0.9045 GB Notification: Performance of NFPackage.collectConstants: time 0.01068/3.092, allocations: 130.9 kB / 1.782 GB, free: 68.22 MB / 0.9045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009748/3.102, allocations: 256 kB / 1.782 GB, free: 68.22 MB / 0.9045 GB Notification: Performance of NFScalarize.scalarize: time 0.05137/3.153, allocations: 65.5 MB / 1.846 GB, free: 50.23 MB / 0.9045 GB Notification: Performance of NFVerifyModel.verify: time 0.06352/3.217, allocations: 71.23 MB / 1.916 GB, free: 4.648 MB / 0.9202 GB Notification: Performance of NFConvertDAE.convert: time 0.1377/3.354, allocations: 161.2 MB / 2.073 GB, free: 308 kB / 0.9827 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/3.354, allocations: 0 / 2.073 GB, free: 308 kB / 0.9827 GB Notification: Performance of FrontEnd: time 2.435e-06/3.354, allocations: 0 / 2.073 GB, free: 308 kB / 0.9827 GB Notification: Performance of Transformations before backend: time 0.008257/3.363, allocations: 0 / 2.073 GB, free: 308 kB / 0.9827 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 1.191/4.554, allocations: 245.7 MB / 2.313 GB, free: 173.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/4.554, allocations: 11.36 kB / 2.313 GB, free: 173.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03471/4.588, allocations: 30.7 MB / 2.343 GB, free: 142.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1005/4.689, allocations: 98.51 MB / 2.439 GB, free: 51.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/4.689, allocations: 95.7 kB / 2.44 GB, free: 51.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/4.69, allocations: 83.28 kB / 2.44 GB, free: 51.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/4.692, allocations: 0.9947 MB / 2.441 GB, free: 50.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/4.692, allocations: 3.938 kB / 2.441 GB, free: 50.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/4.692, allocations: 40 kB / 2.441 GB, free: 50.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/4.692, allocations: 20 kB / 2.441 GB, free: 50.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/4.694, allocations: 0.8403 MB / 2.442 GB, free: 49.85 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.8907/5.584, allocations: 103 MB / 2.542 GB, free: 254.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/5.586, allocations: 1.362 MB / 2.543 GB, free: 253.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/5.587, allocations: 0.5004 MB / 2.544 GB, free: 253.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/5.587, allocations: 22.36 kB / 2.544 GB, free: 253.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/5.588, allocations: 0.6423 MB / 2.545 GB, free: 253.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=102): time 4.007e-06/5.588, allocations: 0 / 2.545 GB, free: 253.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=103): time 0.331/5.919, allocations: 297.3 MB / 2.835 GB, free: 5.527 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/5.919, allocations: 203.8 kB / 2.835 GB, free: 5.289 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342/9.261, allocations: 0.7227 GB / 3.558 GB, free: 140.6 MB / 1.14 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/9.262, allocations: 47.02 kB / 3.558 GB, free: 140.5 MB / 1.14 GB Notification: Performance of collectInitialEqns (initialization): time 0.2285/9.49, allocations: 174 MB / 3.728 GB, free: 0.7383 MB / 1.171 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005294/9.491, allocations: 354.1 kB / 3.728 GB, free: 0.5703 MB / 1.171 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005642/9.491, allocations: 173 kB / 3.728 GB, free: 404 kB / 1.171 GB Notification: Performance of setup shared object (initialization): time 0.0001197/9.491, allocations: 349.9 kB / 3.729 GB, free: 48 kB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/9.492, allocations: 412.1 kB / 3.729 GB, free: 15.65 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009674/9.493, allocations: 0.6139 MB / 3.73 GB, free: 14.96 MB / 1.187 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/9.495, allocations: 1.081 MB / 3.731 GB, free: 13.84 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/9.495, allocations: 0 / 3.731 GB, free: 13.84 MB / 1.187 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.04094/9.536, allocations: 32.36 MB / 3.762 GB, free: 14.36 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/9.536, allocations: 11.98 kB / 3.762 GB, free: 14.34 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/9.536, allocations: 8 kB / 3.762 GB, free: 14.34 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/9.54, allocations: 0.8396 MB / 3.763 GB, free: 13.5 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/9.54, allocations: 175.7 kB / 3.763 GB, free: 13.33 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/9.553, allocations: 6.183 MB / 3.769 GB, free: 7.102 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03533/9.588, allocations: 55.81 kB / 3.769 GB, free: 7.051 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/9.589, allocations: 47.98 kB / 3.769 GB, free: 7.004 MB / 1.202 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.nextTimeEvent,$whenCondition4,PST_Voltage.nextTimeEventScaled,$PRE.PST_Voltage.nextTimeEventScaled,PST_Voltage.nextTimeEvent,$PRE.PST_Slip.nextTimeEvent,$whenCondition3,PST_Slip.nextTimeEventScaled,$PRE.PST_Slip.nextTimeEventScaled,PST_Slip.nextTimeEvent,$PRE.PST_Pmotor.nextTimeEvent,$whenCondition2,PST_Pmotor.nextTimeEventScaled,$PRE.PST_Pmotor.nextTimeEventScaled,PST_Pmotor.nextTimeEvent,$PRE.PST_Qmotor.nextTimeEvent,$whenCondition1,PST_Qmotor.nextTimeEventScaled,$PRE.PST_Qmotor.nextTimeEventScaled,PST_Qmotor.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): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(10,24)} Notification: Performance of prepare postOptimizeDAE: time 1.098/10.69, allocations: 85.88 MB / 3.853 GB, free: 271.8 MB / 1.203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03347/10.72, allocations: 30.36 MB / 3.883 GB, free: 263.6 MB / 1.203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09104/10.81, allocations: 40.21 MB / 3.922 GB, free: 236 MB / 1.203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/10.81, allocations: 3.375 kB / 3.922 GB, free: 236 MB / 1.203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/10.81, allocations: 6.969 kB / 3.922 GB, free: 236 MB / 1.203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04758/10.86, allocations: 23.71 MB / 3.945 GB, free: 229.2 MB / 1.203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02324/10.88, allocations: 26.89 kB / 3.945 GB, free: 229.2 MB / 1.203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03054/10.91, allocations: 38.44 kB / 3.945 GB, free: 229.2 MB / 1.203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005038/10.91, allocations: 180.7 kB / 3.945 GB, free: 229.1 MB / 1.203 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004165/10.92, allocations: 1.964 MB / 3.947 GB, free: 227.8 MB / 1.203 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03326/10.95, allocations: 34.65 MB / 3.981 GB, free: 193.4 MB / 1.203 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007478/10.95, allocations: 417.2 kB / 3.982 GB, free: 193.2 MB / 1.203 GB Notification: Performance of sorting global known variables: time 1.628/12.58, allocations: 0.5505 GB / 4.532 GB, free: 148.8 MB / 1.203 GB Notification: Performance of Backend: time 1.082e-06/12.58, allocations: 1.656 kB / 4.532 GB, free: 148.8 MB / 1.203 GB Notification: Performance of simCode: created initialization part: time 0.09963/12.68, allocations: 102.1 MB / 4.632 GB, free: 84.88 MB / 1.203 GB Notification: Performance of SimCode: time 1.359/14.04, allocations: 0.5732 GB / 5.205 GB, free: 34.06 MB / 1.203 GB Notification: Performance of Templates: time 128.6/142.6, allocations: 327.1 MB / 5.524 GB, free: 159.1 MB / 1.203 GB 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)