Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.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.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5575/0.5575, allocations: 78.54 MB / 94.84 MB, free: 3.832 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.001208/0.001208, allocations: 109.3 kB / 114.4 MB, free: 9.785 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.001361/0.001361, allocations: 187.8 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.519/1.519, allocations: 222.9 MB / 376.5 MB, free: 3.77 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.8099/0.8099, allocations: 62.27 MB / 0.4958 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.00265, allocations: 136.9 kB / 0.6448 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1801, allocations: 69.51 MB / 0.7127 GB, free: 13.44 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI): time 0.009983/0.1902, allocations: 7.615 MB / 0.7201 GB, free: 5.781 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.005189/0.1955, allocations: 1.814 MB / 0.7219 GB, free: 3.957 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.1969, allocations: 15.94 kB / 0.7219 GB, free: 3.941 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.1978, allocations: 241.8 kB / 0.7221 GB, free: 3.703 MB / 0.4982 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.001857/0.1996, allocations: 0.5081 MB / 0.7226 GB, free: 3.191 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.2014, allocations: 0.7043 MB / 0.7233 GB, free: 2.488 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.2042, allocations: 1.652 MB / 0.7249 GB, free: 0.832 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.205, allocations: 434.2 kB / 0.7253 GB, free: 392 kB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.2064, allocations: 0.6537 MB / 0.726 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2075, allocations: 0.7816 MB / 0.7267 GB, free: 14.94 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.2078, allocations: 132 kB / 0.7269 GB, free: 14.81 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.2082, allocations: 196 kB / 0.7271 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.2086, allocations: 322.7 kB / 0.7274 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.2093, allocations: 0.707 MB / 0.7281 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.2114, allocations: 1.689 MB / 0.7297 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.2115, allocations: 4 kB / 0.7297 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2115, allocations: 3.938 kB / 0.7297 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.2115, allocations: 0 / 0.7297 GB, free: 11.89 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005062/0.2166, allocations: 1.888 MB / 0.7316 GB, free: 9.949 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.2166, allocations: 12.03 kB / 0.7316 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.2194, allocations: 482.7 kB / 0.732 GB, free: 9.465 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.2211, allocations: 0.8001 MB / 0.7328 GB, free: 8.621 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.2213, allocations: 107.7 kB / 0.7329 GB, free: 8.508 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2215, allocations: 107.9 kB / 0.733 GB, free: 8.402 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.2234, allocations: 1.058 MB / 0.734 GB, free: 7.324 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.2235, allocations: 4 kB / 0.7341 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2236, allocations: 36 kB / 0.7341 GB, free: 7.285 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2236, allocations: 24 kB / 0.7341 GB, free: 7.262 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2253, allocations: 0.9174 MB / 0.735 GB, free: 6.34 MB / 0.5138 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.007589/0.2329, allocations: 4.226 MB / 0.7391 GB, free: 1.895 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.2347, allocations: 1.416 MB / 0.7405 GB, free: 340 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/0.2355, allocations: 0.5128 MB / 0.741 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/0.2356, allocations: 17 kB / 0.741 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2357, allocations: 51.44 kB / 0.7411 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 4.368e-06/0.2357, allocations: 0 / 0.7411 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=106): time 0.01415/0.2498, allocations: 4.563 MB / 0.7455 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.2499, allocations: 86.11 kB / 0.7456 GB, free: 11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.2513, allocations: 0.8685 MB / 0.7465 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.2514, allocations: 45.7 kB / 0.7465 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.2519, allocations: 0.535 MB / 0.747 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.2523, allocations: 374.5 kB / 0.7474 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.2526, allocations: 170.9 kB / 0.7476 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2528, allocations: 353.9 kB / 0.7479 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.2535, allocations: 382.5 kB / 0.7483 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.2543, allocations: 0.5641 MB / 0.7488 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.2559, allocations: 1.003 MB / 0.7498 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2559, allocations: 4 kB / 0.7498 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005576/0.2615, allocations: 1.973 MB / 0.7517 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.2616, allocations: 8 kB / 0.7517 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.2616, allocations: 8 kB / 0.7517 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/0.2647, allocations: 0.7591 MB / 0.7525 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.2656, allocations: 191.7 kB / 0.7527 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.2772, allocations: 6.585 MB / 0.7591 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.2785, allocations: 51.91 kB / 0.7591 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.2786, allocations: 36 kB / 0.7592 GB, free: 12.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (AC2DC_and_DC2AC.switch.control) * 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 {(11,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005537/0.2791, allocations: 251.1 kB / 0.7594 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.2793, allocations: 122.5 kB / 0.7595 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005179/0.2845, allocations: 1.9 MB / 0.7614 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.2846, allocations: 8 kB / 0.7614 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2846, allocations: 4 kB / 0.7614 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.2846, allocations: 3.984 kB / 0.7614 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007646/0.2923, allocations: 3.411 MB / 0.7647 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.2923, allocations: 0 / 0.7647 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.2931, allocations: 143.8 kB / 0.7649 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.2959, allocations: 0.7236 MB / 0.7656 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.296, allocations: 23.98 kB / 0.7656 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009966/0.306, allocations: 6.02 MB / 0.7715 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.306, allocations: 4 kB / 0.7715 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006366/0.3124, allocations: 2.594 MB / 0.774 GB, free: 12.94 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.3132, allocations: 271.5 kB / 0.7743 GB, free: 12.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3133, allocations: 20 kB / 0.7743 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.3141, allocations: 35.98 kB / 0.7743 GB, free: 12.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.3145, allocations: 108.8 kB / 0.7744 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.3145, allocations: 28 kB / 0.7745 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0008376/0.3154, allocations: 0.6064 MB / 0.775 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3154, allocations: 0 / 0.775 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00128/0.3167, allocations: 344 kB / 0.7754 GB, free: 11.52 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (inf1.delta,inf1.eq,Motor1VSD.s,Motor1VSD.speed.phi,AC2DC_and_DC2AC.Inductor.i,AC2DC_and_DC2AC.Capacitor.v,inf1.omega) * Number of discrete variables: 1 (AC2DC_and_DC2AC.switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * 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 {(11,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.317, allocations: 139.2 kB / 0.7755 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.003692/0.3207, allocations: 1.572 MB / 0.777 GB, free: 9.77 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3207, allocations: 0 / 0.777 GB, free: 9.77 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.3231, allocations: 1.075 MB / 0.7781 GB, free: 8.676 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.3246, allocations: 130.3 kB / 0.7782 GB, free: 8.551 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.329, allocations: 2.403 MB / 0.7806 GB, free: 6.098 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.3298, allocations: 1.114 MB / 0.7816 GB, free: 4.949 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.3302, allocations: 79.42 kB / 0.7817 GB, free: 4.871 MB / 0.5607 GB Notification: Performance of SimCode: time 2.945e-06/0.3302, allocations: 0 / 0.7817 GB, free: 4.871 MB / 0.5607 GB Notification: Performance of Templates: time 0.7542/1.084, allocations: 23.47 MB / 0.8046 GB, free: 82.07 MB / 0.5764 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainThreePhaseInductionMotors.MultiDomainControllableMotor.VariableVoltageFrequencyMotorTypeI.pipe 2>&1)