Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.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: "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3244/0.3244, allocations: 78.55 MB / 93.78 MB, free: 4.301 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.0009838/0.0009838, allocations: 105.5 kB / 113.3 MB, free: 10.06 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.00124/0.00124, allocations: 188.5 kB / 133 MB, free: 6.426 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.247/1.247, allocations: 222.9 MB / 375.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.5757/0.5757, allocations: 62.48 MB / 0.4948 GB, free: 8.48 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 128 kB / 0.5748 GB, free: 6.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 69.49 MB / 0.6427 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.003801/0.368, allocations: 4.277 MB / 0.6468 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3697, allocations: 1.277 MB / 0.6481 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.3699, allocations: 5.594 kB / 0.6481 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3702, allocations: 100.2 kB / 0.6482 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.3706, allocations: 215.2 kB / 0.6484 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.3715, allocations: 0.5766 MB / 0.649 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.3721, allocations: 0.8548 MB / 0.6498 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.3723, allocations: 156 kB / 0.6499 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.3726, allocations: 377.9 kB / 0.6503 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.373, allocations: 497.3 kB / 0.6508 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.3731, allocations: 68.75 kB / 0.6508 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3734, allocations: 131.9 kB / 0.651 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3735, allocations: 186.6 kB / 0.6511 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3737, allocations: 364.9 kB / 0.6515 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.3743, allocations: 0.8931 MB / 0.6524 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3743, allocations: 0 / 0.6524 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3743, allocations: 4 kB / 0.6524 GB, free: 10.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3743, allocations: 0 / 0.6524 GB, free: 10.6 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004229/0.3786, allocations: 1.569 MB / 0.6539 GB, free: 9.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3786, allocations: 9.312 kB / 0.6539 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.598e-05/0.3787, allocations: 85.42 kB / 0.654 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.3809, allocations: 408.1 kB / 0.6544 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3815, allocations: 0.5273 MB / 0.6549 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3816, allocations: 131.7 kB / 0.655 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.3817, allocations: 53.2 kB / 0.6551 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.3828, allocations: 0.6598 MB / 0.6557 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3828, allocations: 4 kB / 0.6557 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.3829, allocations: 16.06 kB / 0.6557 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3829, allocations: 10.81 kB / 0.6557 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.384, allocations: 0.6335 MB / 0.6564 GB, free: 8.008 MB / 446.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.002542/0.3865, allocations: 1.922 MB / 0.6582 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.3875, allocations: 0.7755 MB / 0.659 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.3882, allocations: 485.3 kB / 0.6595 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.3883, allocations: 16.48 kB / 0.6595 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.3883, allocations: 43.11 kB / 0.6595 GB, free: 5.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.064e-06/0.3883, allocations: 0 / 0.6595 GB, free: 5.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01299/0.4013, allocations: 3.917 MB / 0.6633 GB, free: 1.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4014, allocations: 85.67 kB / 0.6634 GB, free: 1.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.4019, allocations: 0.5185 MB / 0.6639 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.4019, allocations: 37.7 kB / 0.664 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4021, allocations: 273.2 kB / 0.6642 GB, free: 440 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4022, allocations: 220.8 kB / 0.6644 GB, free: 216 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4024, allocations: 102.2 kB / 0.6645 GB, free: 104 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4025, allocations: 370.8 kB / 0.6649 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.4032, allocations: 377 kB / 0.6652 GB, free: 15.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.404, allocations: 466.6 kB / 0.6657 GB, free: 14.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4056, allocations: 0.8463 MB / 0.6665 GB, free: 14.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4056, allocations: 4 kB / 0.6665 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01151/0.4171, allocations: 2.941 MB / 0.6694 GB, free: 11.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4172, allocations: 8 kB / 0.6694 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4172, allocations: 0 / 0.6694 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008816/0.426, allocations: 1.835 MB / 0.6712 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.4263, allocations: 63.84 kB / 0.6713 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.4445, allocations: 8.327 MB / 0.6794 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.4453, allocations: 83.47 kB / 0.6795 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.4454, allocations: 16 kB / 0.6795 GB, free: 0.5625 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * 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 {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.4457, allocations: 177.8 kB / 0.6797 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4458, allocations: 67.19 kB / 0.6797 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008207/0.454, allocations: 2.562 MB / 0.6822 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4541, allocations: 11.94 kB / 0.6822 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4541, allocations: 4 kB / 0.6822 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4541, allocations: 7.984 kB / 0.6822 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009319/0.4634, allocations: 3.529 MB / 0.6857 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4635, allocations: 3.984 kB / 0.6857 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.4639, allocations: 75.91 kB / 0.6858 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004125/0.468, allocations: 1.156 MB / 0.6869 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.4681, allocations: 23.94 kB / 0.6869 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.4794, allocations: 5.688 MB / 0.6925 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4794, allocations: 0 / 0.6925 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009098/0.4885, allocations: 3.218 MB / 0.6956 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4888, allocations: 152.2 kB / 0.6958 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4889, allocations: 19.98 kB / 0.6958 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.4897, allocations: 47.95 kB / 0.6958 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/0.4901, allocations: 124.4 kB / 0.6959 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.4901, allocations: 19.98 kB / 0.696 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.4906, allocations: 382.8 kB / 0.6963 GB, free: 15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4906, allocations: 0 / 0.6963 GB, free: 15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009482/0.4915, allocations: 267.8 kB / 0.6966 GB, free: 14.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.s,Inf.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 (41): * Single equations (assignments): 40 * 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): 1 system {(12,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009324/0.5009, allocations: 3.783 MB / 0.7003 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.5047, allocations: 1.478 MB / 0.7017 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5047, allocations: 3.938 kB / 0.7017 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.5073, allocations: 0.9583 MB / 0.7027 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.508, allocations: 58.25 kB / 0.7027 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/0.5374, allocations: 10.72 MB / 0.7132 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.5379, allocations: 0.9074 MB / 0.7141 GB, free: 12.59 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.5382, allocations: 52.55 kB / 0.7141 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.5385, allocations: 227.3 kB / 0.7143 GB, free: 12.32 MB / 0.4982 GB Notification: Performance of SimCode: time 5.11e-07/0.5385, allocations: 0 / 0.7143 GB, free: 12.32 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.5801, allocations: 22.49 MB / 0.7363 GB, free: 6.098 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.5805, allocations: 299.3 kB / 0.7366 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.755, allocations: 3.938 kB / 0.7366 GB, free: 5.715 MB / 0.5138 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)